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)
commit05cd445c4da9c1bd7a2998c6a1e5bd097d6d65b3
treefe326ff353759b6100deacdb831d0b939e420e3a
parent92105e87e88fa9db7ce1e85fcb7f1a3923f585c7
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.

llvm-svn: 223253
llvm/lib/Target/R600/AMDGPUTargetMachine.cpp