projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb018d0
)
Dump the instruction that foiled ISel even when -debug is not used.
author
Dan Gohman
<gohman@apple.com>
Wed, 20 Aug 2008 20:47:32 +0000
(20:47 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 20 Aug 2008 20:47:32 +0000
(20:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55075
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index e4447c36074d8f6e32d82c01d880198a700175bf..997bd116048de373ed4d3d331c11520afe5f6faf 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
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();
}