[llvm] [CodeGen] Add preliminary plumbing for `samesign` flag (PR #112354)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 20:29:58 PDT 2024
================
@@ -837,6 +837,8 @@ void MIPrinter::print(const MachineInstr &MI) {
OS << "disjoint ";
if (MI.getFlag(MachineInstr::NoUSWrap))
OS << "nusw ";
+ if (MI.getFlag(MachineInstr::SameSign))
----------------
arsenm wrote:
This test doesn't cover the parsing, see test/CodeGen/MIR/X86/fastmath.mir as an example
https://github.com/llvm/llvm-project/pull/112354
More information about the llvm-commits
mailing list