[llvm-branch-commits] [llvm] [GISel] Introduce MIFlags::InBounds (PR #150900)

Fabian Ritter via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 28 02:55:52 PDT 2025


================
@@ -1860,8 +1862,12 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
     OS << "nneg ";
   if (getFlag(MachineInstr::Disjoint))
     OS << "disjoint ";
+  if (getFlag(MachineInstr::NoUSWrap))
----------------
ritter-x2a wrote:

I think that might be because `nusw` was already printed in MIRPrinter.cpp's `printMI` (see above). I'd guess that this function here, `MachineInstr::print`, is mostly used for debug prints, but I haven't followed all the call sites. (It would probably make sense to have them share an implementation, though).

https://github.com/llvm/llvm-project/pull/150900


More information about the llvm-branch-commits mailing list