diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-20 20:47:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-20 20:47:32 +0000 |
commit | 43d1c7c607a67831ddf401162aae39755d514ae5 (patch) | |
tree | f4bebf9c9b7edf60af8b92eabf3cfabb9956be0f /llvm/lib/CodeGen | |
parent | cd01e898526e457548c6f9796fc38dc03eb9a525 (diff) | |
download | bcm5719-llvm-43d1c7c607a67831ddf401162aae39755d514ae5.tar.gz bcm5719-llvm-43d1c7c607a67831ddf401162aae39755d514ae5.zip |
Dump the instruction that foiled ISel even when -debug is not used.
llvm-svn: 55075
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e4447c36074..997bd116048 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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(); } |