[llvm] [VPlan] Handle calls in VPInstruction:opcodeMayReadOrWriteFromMemory. (PR #190681)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 01:36:46 PDT 2026


thurstond wrote:

The newly added assertion is failing on a buildbot (https://lab.llvm.org/buildbot/#/builders/25/builds/17069). Could you please take a look?

In case it helps, the output of dumping VPI is:
```
EMIT vp<%4> = CANONICAL-INDUCTION ir<0>, vp<%index.next>ir<%I.0.i157> = WIDEN-INDUCTION nuw nsw ir<0>, ir<1>, vp<%0>EMIT ir<%59> = call ir<%I.0.i157>, ir<%conv.i>, ir<@llvm.smul.with.overflow.i32>EMIT ir<%60> = extractvalue ir<%59>
clang++: llvm/lib/Transforms/Vectorize/VPlanConstruction.cpp:959: bool areAllLoadsDereferenceable(VPBasicBlock *, VPBasicBlock *, Loop *, PredicatedScalarEvolution &, DominatorTree &, AssumptionCache *): Assertion `!R.mayReadFromMemory() && "unexpected recipe reading memory"' failed.
...
```


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


More information about the llvm-commits mailing list