Dump the instruction that foiled ISel even when -debug is not used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55075 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-08-20 20:47:32 +00:00
parent fb018d0433
commit 2385852b5b

View File

@ -5129,7 +5129,9 @@ void SelectionDAGISel::BuildSelectionDAG(SelectionDAG &DAG, BasicBlock *LLVMBB,
if (!DisableFastISelAbort) {
// The "fast" selector couldn't handle something and bailed.
// For the purpose of debugging, just abort.
DEBUG(Begin->dump());
#ifndef NDEBUG
Begin->dump();
#endif
assert(0 && "FastISel didn't select the entire block");
abort();
}