R600/SI: Add SinkingPass before ISel

llvm-svn: 192556
This commit is contained in:
Vincent Lejeune 2013-10-13 17:56:21 +00:00
parent d623644d17
commit 4ee6dd6136
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ AMDGPUPassConfig::addPreISel() {
ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS)
addPass(createStructurizeCFGPass());
if (ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
addPass(createSinkingPass());
addPass(createSITypeRewriter());
addPass(createSIAnnotateControlFlowPass());
} else {