[BPF] Vector used across basic block causes assertion LHS.getValueType().isVector() == VT.isVector() && "Cannot compare scalars to vectors"
to fail
#58884
Labels
Decription
In the following code, when a vector is used across basic block, assertion
LHS.getValueType().isVector() == VT.isVector() && "Cannot compare scalars to vectors"
failed when targetingbpf
.The problem does not exist when targeting
x86_64
oraarch64
.The problem does not exist when the vector used in
urem
is in the same basic block.Minimal Reproduction
https://godbolt.org/z/s9MeWe7dr
Code
Stack Trace
The text was updated successfully, but these errors were encountered: