From: Vincent Lejeune Date: Wed, 1 Aug 2012 20:49:44 +0000 (+0200) Subject: radeon/llvm: Enable if-cvt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=565a4e2a8625c79bde0eacf674a4f633151eeb0e;p=mesa.git radeon/llvm: Enable if-cvt Signed-off-by: Tom Stellard --- diff --git a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp index 6b50128c9fc..b97c0febfc4 100644 --- a/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp +++ b/src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp @@ -29,6 +29,7 @@ #include "llvm/Support/raw_os_ostream.h" #include "llvm/Transforms/IPO.h" #include "llvm/Transforms/Scalar.h" +#include using namespace llvm; @@ -148,6 +149,8 @@ bool AMDGPUPassConfig::addPostRegAlloc() { } bool AMDGPUPassConfig::addPreSched2() { + + addPass(IfConverterID); return false; }