[llvm] Add Instruction selection support for x87 ld/st (PR #97016)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 3 05:02:49 PDT 2024
================
@@ -611,7 +626,10 @@ bool X86InstructionSelector::selectLoadStoreOp(MachineInstr &I,
I.removeOperand(0);
addFullAddress(MIB, AM).addUse(DefReg);
}
- return constrainSelectedInstRegOperands(I, TII, TRI, RBI);
+ bool Constrained = constrainSelectedInstRegOperands(I, TII, TRI, RBI);
+ if (Constrained)
+ I.addImplicitDefUseOperands(MF);
----------------
arsenm wrote:
You could just unconditionally call this
https://github.com/llvm/llvm-project/pull/97016
More information about the llvm-commits
mailing list