radeon/llvm: Disable SI flow control again for now.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 27 Sep 2012 12:15:44 +0000 (14:15 +0200)
committerMichel Dänzer <michel@daenzer.net>
Tue, 2 Oct 2012 14:50:36 +0000 (16:50 +0200)
It makes piglit unreliable due to VM protection faults and GPU lockups.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp

index 0b70191b83b210ab7f120ebdc5f163e20f7bd825..bfe9d81303baaeaf040d2c01d60381b9b9a5c031 100644 (file)
@@ -134,7 +134,8 @@ bool AMDGPUPassConfig::addPreEmitPass() {
     addPass(FinalizeMachineBundlesID);
   } else {
     PM->add(createSILowerLiteralConstantsPass(*TM));
-    PM->add(createSILowerFlowControlPass(*TM));
+    // piglit is unreliable (VM protection faults, GPU lockups) with this pass:
+    //PM->add(createSILowerFlowControlPass(*TM));
   }
 
   return false;