[llvm-branch-commits] [llvm-branch] r167129 - /llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Tom Stellard thomas.stellard at amd.com
Wed Oct 31 08:26:16 PDT 2012


Author: tstellar
Date: Wed Oct 31 10:26:16 2012
New Revision: 167129

URL: http://llvm.org/viewvc/llvm-project?rev=167129&view=rev
Log:
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 at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

Modified:
    llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Modified: llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp?rev=167129&r1=167128&r2=167129&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp Wed Oct 31 10:26:16 2012
@@ -134,8 +134,7 @@
     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;





More information about the llvm-branch-commits mailing list