summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8>2012-10-31 15:26:16 +0000
committertstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8>2012-10-31 15:26:16 +0000
commite3213f01f7764af573ed641a7bc98dde5824e321 (patch)
tree7b1e0519e150880379b83075455fab5a8631d9c0 /lib
parent6e5414adc43c7abac7817ca4fc263b025671aae7 (diff)
SI: Enable control flow pass again
radeonsi can run piglit reliably with it now. It fixes hundreds of tests and prevents many more from crashing. Patch by: Michel Dänzer Reviewed-by: Tom Stellard <thomas.stellar@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/R600/@167129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp b/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
index 19fd05d319..dd4b733300 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;