[llvm] [InlineAsm] Steal a bit to denote a register is spillable (PR #70738)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 31 19:47:14 PDT 2023
================
@@ -1792,6 +1792,12 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST,
if (F.isUseOperandTiedToDef(TiedTo))
OS << " tiedto:$" << TiedTo;
+ if ((F.isRegDefKind() || F.isRegDefEarlyClobberKind() ||
+ F.isRegUseKind()) &&
+ F.getRegMayBeFolded()) {
+ OS << " foldable";
----------------
arsenm wrote:
Does this require new MIR printer/parser support and corresponding tests?
https://github.com/llvm/llvm-project/pull/70738
More information about the llvm-commits
mailing list