[llvm] Add "noconvergent" flag to MachineInstr::print() (PR #180818)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 10 11:49:24 PST 2026
https://github.com/rampitec created https://github.com/llvm/llvm-project/pull/180818
None
>From 1c007c0c7b7b3a6849132b4500160d3ddd7d75a8 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: Tue, 10 Feb 2026 11:48:44 -0800
Subject: [PATCH] Add "noconvergent" flag to MachineInstr::print()
---
llvm/lib/CodeGen/MachineInstr.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index afdc72244bc86..20e448f1d1954 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1890,6 +1890,8 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
OS << "nofpexcept ";
if (getFlag(MachineInstr::NoMerge))
OS << "nomerge ";
+ if (getFlag(MachineInstr::NoConvergent))
+ OS << "noconvergent ";
if (getFlag(MachineInstr::NonNeg))
OS << "nneg ";
if (getFlag(MachineInstr::Disjoint))
More information about the llvm-commits
mailing list