[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
Jim Laskey
jlaskey at apple.com
Tue Jul 11 10:58:24 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelDAGToDAG.cpp updated: 1.46 -> 1.47
---
Log message:
Ensure that dump calls that are associated with asserts are removed from
non-debug build.
---
Diffs of the changes: (+1 -1)
AlphaISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.46 llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.47
--- llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp:1.46 Wed Jun 21 10:42:36 2006
+++ llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp Tue Jul 11 12:58:07 2006
@@ -303,7 +303,7 @@
bool rev = false;
bool isNE = false;
switch(CC) {
- default: N->dump(); assert(0 && "Unknown FP comparison!");
+ default: DEBUG(N->dump()); assert(0 && "Unknown FP comparison!");
case ISD::SETEQ: case ISD::SETOEQ: case ISD::SETUEQ: Opc = Alpha::CMPTEQ; break;
case ISD::SETLT: case ISD::SETOLT: case ISD::SETULT: Opc = Alpha::CMPTLT; break;
case ISD::SETLE: case ISD::SETOLE: case ISD::SETULE: Opc = Alpha::CMPTLE; break;
More information about the llvm-commits
mailing list