diff options
author | Craig Topper <craig.topper@intel.com> | 2019-06-02 01:36:48 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-06-02 01:36:48 +0000 |
commit | 78c794a70bc89dca8d9fec986b42135feacb605b (patch) | |
tree | 10e7300502d747f72e527f04a24c8fa0fa10c45f /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 737de4d363ede4b90dd5609af0494fb39af53865 (diff) | |
download | bcm5719-llvm-78c794a70bc89dca8d9fec986b42135feacb605b.tar.gz bcm5719-llvm-78c794a70bc89dca8d9fec986b42135feacb605b.zip |
[X86] Fix several places that weren't passing what they though they were to MachineInstr::print
Over a year ago, MachineInstr gained a fourth boolean parameter that occurs
before the TII pointer. When this happened, several places started accidentally
passing TII into this boolean parameter instead of the TII parameter.
llvm-svn: 362312
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCombiner.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp index 218484715db..0584ec0bd2b 100644 --- a/llvm/lib/CodeGen/MachineCombiner.cpp +++ b/llvm/lib/CodeGen/MachineCombiner.cpp @@ -561,10 +561,12 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) { dbgs() << "\tFor the Pattern (" << (int)P << ") these instructions could be removed\n"; for (auto const *InstrPtr : DelInstrs) - InstrPtr->print(dbgs(), false, false, false, TII); + InstrPtr->print(dbgs(), /*IsStandalone*/false, /*SkipOpers*/false, + /*SkipDebugLoc*/false, /*AddNewLine*/true, TII); dbgs() << "\tThese instructions could replace the removed ones\n"; for (auto const *InstrPtr : InsInstrs) - InstrPtr->print(dbgs(), false, false, false, TII); + InstrPtr->print(dbgs(), /*IsStandalone*/false, /*SkipOpers*/false, + /*SkipDebugLoc*/false, /*AddNewLine*/true, TII); }); bool SubstituteAlways = false; |