diff options
author | Thorsten Schütt <schuett@gmail.com> | 2024-03-26 18:44:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-26 18:44:34 +0100 |
commit | da6cc4a24ff8953d51f7dc2c4974e8fc9089d693 (patch) | |
tree | 66861a3b32aa48152cbb7d8042394484cd818797 /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | d0e97fe38b91dac909e6a53ab16d306e5ef0b512 (diff) | |
download | llvm-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.cpp | 4 |
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) |