[llvm-commits] [llvm] r56614 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Dan Gohman
gohman at apple.com
Thu Sep 25 10:21:42 PDT 2008
Author: djg
Date: Thu Sep 25 12:21:42 2008
New Revision: 56614
URL: http://llvm.org/viewvc/llvm-project?rev=56614&view=rev
Log:
Don't print fast-isel debug messages by default. Thanks Chris!
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=56614&r1=56613&r2=56614&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Thu Sep 25 12:21:42 2008
@@ -729,7 +729,8 @@
for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end();
I != E; ++I, ++j)
if (Fn.paramHasAttr(j, ParamAttr::ByVal)) {
- cerr << "FastISel skips entry block due to byval argument\n";
+ if (EnableFastISelVerbose || EnableFastISelAbort)
+ cerr << "FastISel skips entry block due to byval argument\n";
SuppressFastISel = true;
break;
}
@@ -776,8 +777,10 @@
// Then handle certain instructions as single-LLVM-Instruction blocks.
if (isa<CallInst>(BI)) {
- cerr << "FastISel missed call: ";
- BI->dump();
+ if (EnableFastISelVerbose || EnableFastISelAbort) {
+ cerr << "FastISel missed call: ";
+ BI->dump();
+ }
if (BI->getType() != Type::VoidTy) {
unsigned &R = FuncInfo->ValueMap[BI];
More information about the llvm-commits
mailing list