[llvm-branch-commits] [llvm] [CodeGen] Allow rematerializer to rematerialize at the end of a block (PR #184339)

Quentin Colombet via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 23 18:55:17 PDT 2026


================
@@ -785,7 +795,7 @@ Printable Rematerializer::printUser(const MachineInstr *MI) const {
     if (RegIdx != NoReg)
       OS << printID(RegIdx);
     else
-      OS << "(-/-)[" << MIRegion.at(MI) << ']';
+      OS << "(-/-)[?]";
----------------
qcolombet wrote:

Should we change the signature of printUser to also take a `UseRegion` index?

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


More information about the llvm-branch-commits mailing list