[llvm] [RISCV] Teach expandRV32ZdinxStore to handle memoperand not being present. (PR #113981)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 08:41:07 PST 2025


topperc wrote:

> Hi Craig,
> 
> the issue is still there with the following MIR: `PseudoRV32ZdinxSD killed renamable $x10_x11, killed renamable $x12, 8 :: (store (s64) into %ir.arrayidx13, !tbaa !6), (store (s64) into %ir.arrayidx20, !tbaa !6) ` Assertion: `assert(MBBI->hasOneMemOperand() && "Expected mem operand");`
> 
> Regards, Gergely

Do you have test that generates that MIR? I'm not sure where in the code 2 operands can be created.

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


More information about the llvm-commits mailing list