[Mesa-dev] [PATCH 7/7] AMDGPU: Enable SI control flow pass again.
Michel Dänzer
michel at daenzer.net
Tue Oct 30 11:39:12 PDT 2012
From: Michel Dänzer <michel.daenzer at amd.com>
radeonsi can run piglit reliably with it now. It fixes hundreds of tests and
prevents many more from crashing.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index 19fd05d..dd4b733 100644
--- a/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
+++ b/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
@@ -134,8 +134,7 @@ bool AMDGPUPassConfig::addPreEmitPass() {
addPass(&FinalizeMachineBundlesID);
} else {
addPass(createSILowerLiteralConstantsPass(*TM));
- // piglit is unreliable (VM protection faults, GPU lockups) with this pass:
- //addPass(createSILowerFlowControlPass(*TM));
+ addPass(createSILowerFlowControlPass(*TM));
}
return false;
--
1.7.10.4
More information about the mesa-dev
mailing list