[clang] [llvm] [X86][APX] Return CopyMI when added in foldMemoryOperandImpl (PR #191368)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 20:17:50 PDT 2026


================
@@ -1257,14 +1257,14 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
   /// If VRM is passed, the assigned physregs can be inspected by target to
   /// decide on using an opcode (note that those assignments can still change).
   MachineInstr *foldMemoryOperand(MachineInstr &MI, ArrayRef<unsigned> Ops,
-                                  int FI,
+                                  int FI, MachineInstr *&CopyMI,
----------------
phoebewang wrote:

Done.

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


More information about the llvm-commits mailing list