[llvm-commits] [llvm] r55075 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Dan Gohman gohman at apple.com
Wed Aug 20 13:47:32 PDT 2008


Author: djg
Date: Wed Aug 20 15:47:32 2008
New Revision: 55075

URL: http://llvm.org/viewvc/llvm-project?rev=55075&view=rev
Log:
Dump the instruction that foiled ISel even when -debug is not used.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp?rev=55075&r1=55074&r2=55075&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Aug 20 15:47:32 2008
@@ -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();
       }





More information about the llvm-commits mailing list