summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2013-01-09 18:35:09 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2013-01-09 18:35:09 +0000
commit6922e9ca7e2655cc603c2c0655189c72cdfa513f (patch)
tree3eb44ea1f16999e9e5091c597d92957dc7585999 /llvm/lib/CodeGen/MachineInstr.cpp
parent68d752bf6bf04beaf173e03a74380692757d5380 (diff)
downloadbcm5719-llvm-6922e9ca7e2655cc603c2c0655189c72cdfa513f.tar.gz
bcm5719-llvm-6922e9ca7e2655cc603c2c0655189c72cdfa513f.zip
Don't print bundle flags.
The bundle flags are used by MachineBasicBlock::print(), they don't need to clutter up individual MachineInstrs. llvm-svn: 171986
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 53dbf031633..92f6a7f7699 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1585,7 +1585,8 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const {
}
bool HaveSemi = false;
- if (Flags) {
+ const unsigned PrintableFlags = FrameSetup;
+ if (Flags & PrintableFlags) {
if (!HaveSemi) OS << ";"; HaveSemi = true;
OS << " flags: ";
OpenPOWER on IntegriCloud