[llvm] [X86][MemFold] Allow masked load folding if masks are equal (PR #161074)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 28 20:59:21 PDT 2025


================
@@ -8113,6 +8113,38 @@ MachineInstr *X86InstrInfo::foldMemoryOperandImpl(
     MachineBasicBlock::iterator InsertPt, MachineInstr &LoadMI,
     LiveIntervals *LIS) const {
 
+  Register MaskReg;
----------------
phoebewang wrote:

Done.

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


More information about the llvm-commits mailing list