aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MIRPrinter.cpp
diff options
context:
space:
mode:
authorThorsten Schütt <schuett@gmail.com>2024-03-26 18:44:34 +0100
committerGitHub <noreply@github.com>2024-03-26 18:44:34 +0100
commitda6cc4a24ff8953d51f7dc2c4974e8fc9089d693 (patch)
tree66861a3b32aa48152cbb7d8042394484cd818797 /llvm/lib/CodeGen/MIRPrinter.cpp
parentd0e97fe38b91dac909e6a53ab16d306e5ef0b512 (diff)
downloadllvm-da6cc4a24ff8953d51f7dc2c4974e8fc9089d693.zip
llvm-da6cc4a24ff8953d51f7dc2c4974e8fc9089d693.tar.gz
llvm-da6cc4a24ff8953d51f7dc2c4974e8fc9089d693.tar.bz2
[CodeGen] Add nneg and disjoint flags (#86650)
MachineInstr learned the new flags.
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRPrinter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp
index 8efe67a..4cf3074 100644
--- a/llvm/lib/CodeGen/MIRPrinter.cpp
+++ b/llvm/lib/CodeGen/MIRPrinter.cpp
@@ -806,6 +806,10 @@ void MIPrinter::print(const MachineInstr &MI) {
OS << "unpredictable ";
if (MI.getFlag(MachineInstr::NoConvergent))
OS << "noconvergent ";
+ if (MI.getFlag(MachineInstr::NonNeg))
+ OS << "nneg ";
+ if (MI.getFlag(MachineInstr::Disjoint))
+ OS << "disjoint ";
OS << TII->getName(MI.getOpcode());
if (I < E)