[Mesa-dev] [PATCH] R600/SI: Add SinkingPass before ISel
Vincent Lejeune
vljn at ovi.com
Sun Oct 6 07:06:02 PDT 2013
---
lib/Target/R600/AMDGPUTargetMachine.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Target/R600/AMDGPUTargetMachine.cpp b/lib/Target/R600/AMDGPUTargetMachine.cpp
index d77cddd..f28f27a 100644
--- a/lib/Target/R600/AMDGPUTargetMachine.cpp
+++ b/lib/Target/R600/AMDGPUTargetMachine.cpp
@@ -120,6 +120,7 @@ bool
AMDGPUPassConfig::addPreISel() {
const AMDGPUSubtarget &ST = TM->getSubtarget<AMDGPUSubtarget>();
addPass(createFlattenCFGPass());
+ addPass(createSinkingPass());
if (ST.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
addPass(createSITypeRewriter());
addPass(createStructurizeCFGPass());
--
1.8.3.1
More information about the mesa-dev
mailing list