mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Don't print fast-isel debug messages by default. Thanks Chris!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56614 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -729,7 +729,8 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF,
|
|||||||
for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end();
|
for (Function::arg_iterator I = Fn.arg_begin(), E = Fn.arg_end();
|
||||||
I != E; ++I, ++j)
|
I != E; ++I, ++j)
|
||||||
if (Fn.paramHasAttr(j, ParamAttr::ByVal)) {
|
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;
|
SuppressFastISel = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -776,8 +777,10 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF,
|
|||||||
|
|
||||||
// Then handle certain instructions as single-LLVM-Instruction blocks.
|
// Then handle certain instructions as single-LLVM-Instruction blocks.
|
||||||
if (isa<CallInst>(BI)) {
|
if (isa<CallInst>(BI)) {
|
||||||
cerr << "FastISel missed call: ";
|
if (EnableFastISelVerbose || EnableFastISelAbort) {
|
||||||
BI->dump();
|
cerr << "FastISel missed call: ";
|
||||||
|
BI->dump();
|
||||||
|
}
|
||||||
|
|
||||||
if (BI->getType() != Type::VoidTy) {
|
if (BI->getType() != Type::VoidTy) {
|
||||||
unsigned &R = FuncInfo->ValueMap[BI];
|
unsigned &R = FuncInfo->ValueMap[BI];
|
||||||
|
Reference in New Issue
Block a user