commit | 2385852b5b9b82e15eb4502d71b5f916882418d7 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Wed Aug 20 20:47:32 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Wed Aug 20 20:47:32 2008 +0000 |
tree | 5ac32a776e0360977bc345a9b662f1df44395e99 | |
parent | fb018d0433f7b52c3f1235e675276adb1f92d597 [diff] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e4447c3..997bd11 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -5129,7 +5129,9 @@ 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(); }