radeon/llvm: Enable if-cvt
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
committed by
Tom Stellard
parent
a614979286
commit
565a4e2a86
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user