1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

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 177a4d2fce
commit f5655b2100

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 {