[llvm] [IA] Fix crash when dealing with deinterleave(interleave) (PR #150713)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 25 21:12:46 PDT 2025
================
@@ -534,10 +537,12 @@ bool InterleavedAccessImpl::lowerInterleavedStore(
if (SI) {
LLVM_DEBUG(dbgs() << "IA: Found an interleaved store: " << *Store << "\n");
} else {
+ Value *MaskOperand = getMaskOperand(II);
+ if (!MaskOperand)
----------------
topperc wrote:
I we do it this way, I would use an `assert` here.
https://github.com/llvm/llvm-project/pull/150713
More information about the llvm-commits
mailing list