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

That makes sense to me. Made it optional as to not force callers to know this 
information.

I also spotted and fixed a couple incorrect uses of `dbgs()` instead of the 
generic `raw_ostream &OS` in print methods.

https://github.com/llvm/llvm-project/pull/184339
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to