OSDN Git Service

R600/SI: Move SIInsertWaits into AMDGPUPassConfig::addPreSched2()
authorTom Stellard <thomas.stellard@amd.com>
Wed, 3 Dec 2014 18:27:08 +0000 (18:27 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 3 Dec 2014 18:27:08 +0000 (18:27 +0000)
commitf41e1d1a4554f705df1c8080eaab1f6884c0ed23
tree00689cfdf29d6cbd875a664fb41be5ffc24ac445
parent8a8dc6a29d3f763e7469201a39d5cdde43351c9c
R600/SI: Move SIInsertWaits into AMDGPUPassConfig::addPreSched2()

This pass needs to be run after PrologEpilogInserter, because
that pass may inserter spill code which reads or writes memory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUTargetMachine.cpp