LoopVectorizer assert(AddressSpace == AS && with addrspacecast
is hit
#124759
Labels
assert(AddressSpace == AS && with addrspacecast
is hit
#124759
The following code produces an assert in RuntimeCheckingPtrGroup::addPointer()
This crashes with
opt --passes loop-vectorize /tmp/reduced.ll -S -o -
as follows:I've done some debugging and in
RuntimeCheckingPtrGroup::addPointer()
II can see the first two elements if RTCheck have the same dependency set but different address spaces.I did try removing the dependency set being equal continuing the loop here https://github.com/llvm/llvm-project/blob/main/llvm/lib/Analysis/LoopAccessAnalysis.cpp#L1219
This does seem to fix the issue but I was wary on whether this was just another symptom rather than the proper fix.
The text was updated successfully, but these errors were encountered: