[AArch64] Add tests for lowering of vector load + single extract.
authorFlorian Hahn <flo@fhahn.com>
Tue, 25 May 2021 09:50:08 +0000 (10:50 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 25 May 2021 10:09:15 +0000 (11:09 +0100)
commit536447eb203c3f096d8d4d451d609ef7357c9c43
treea865a7fe5e777d6908227f30f67350edd0e53300
parent3bf96b0329be554c67282b0d7d8da6a864b9e38f
[AArch64] Add tests for lowering of vector load + single extract.

Currently the vector load + extract gets lowered to a single scalar
store, not accounting for the fact that the index could be
out-of-bounds, which is poison, not UB.

See PR50382.
llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll