diff options
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp b/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp index a7d39466bdf..289af6f210e 100644 --- a/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp +++ b/src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp @@ -14,8 +14,6 @@ #define DEBUGME 0 #endif -#include "AMDILCompilerErrors.h" -#include "AMDILMachineFunctionInfo.h" #include "AMDILTargetMachine.h" #include "AMDILUtilityFunctions.h" #include "llvm/ADT/SCCIterator.h" @@ -111,8 +109,6 @@ void ReverseVector(SmallVector<NodeT *, DEFAULT_VEC_SLOTS> &Src) { // //===----------------------------------------------------------------------===// -#include "AMDILCompilerErrors.h" -#include "AMDILMachineFunctionInfo.h" #include "AMDILTargetMachine.h" #include "AMDILUtilityFunctions.h" #include "llvm/ADT/SCCIterator.h" @@ -709,10 +705,7 @@ bool CFGStructurizer<PassT>::run(FuncT &func, PassT &pass) { } if (!finish) { - MachineFunction *MF = &func; - AMDILMachineFunctionInfo *mMFI = - MF->getInfo<AMDILMachineFunctionInfo>(); - mMFI->addErrorMsg(amd::CompilerErrorMessage[IRREDUCIBLE_CF]); + assert(!"IRREDUCIBL_CF"); } return true; |