diff options
author | Vincent Lejeune <[email protected]> | 2012-08-01 22:49:44 +0200 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-15 21:07:14 +0000 |
commit | 565a4e2a8625c79bde0eacf674a4f633151eeb0e (patch) | |
tree | 46ad1b52e921aba91d10d8a08ae6bbc6640617e7 /src/gallium/drivers | |
parent | a614979286f8d329af318c1e9fb067e17cab4315 (diff) |
radeon/llvm: Enable if-cvt
Signed-off-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <llvm/CodeGen/Passes.h> using namespace llvm; @@ -148,6 +149,8 @@ bool AMDGPUPassConfig::addPostRegAlloc() { } bool AMDGPUPassConfig::addPreSched2() { + + addPass(IfConverterID); return false; } |