[PATCH] D11260: AMDPGU/R600: Replace llvm_unreachable() call with LLVMContext::emitError()

Daniel Sanders daniel.sanders at imgtec.com
Thu Jul 16 07:33:01 PDT 2015


dsanders accepted this revision.
dsanders added a comment.
This revision is now accepted and ready to land.

This fixes the test for the Phase 2 and Phase 3 Release build for me. Thanks for the quick fix.


================
Comment at: lib/Target/AMDGPU/AMDILCFGStructurizer.cpp:1735-1736
@@ -1734,3 +1734,4 @@
   DEBUG(dbgs() << "Old branch instr: " << *BranchMI << "\n";);
   MachineBasicBlock::iterator I = BranchMI;
   unsigned ImmReg = FuncRep->getRegInfo().createVirtualRegister(I32RC);
+  LLVMContext &Ctx = LoopHeader->getParent()->getFunction()->getContext();
----------------
These two variables are unused now.


http://reviews.llvm.org/D11260







More information about the llvm-commits mailing list