llvm
b44d2c97 - [RISCV] Use a vector MemVT when converting store+extractelt into a vector store. (#190107)

Commit
16 hours ago
[RISCV] Use a vector MemVT when converting store+extractelt into a vector store. (#190107) This is needed so that `allowsMemoryAccessForAlignment` checks for unaligned vector memory support instead of unaligned scalar memory support when called from `RISCVTargetLowering::expandUnalignedVPStore` While there remove incorrect setting of the truncating store flag on the vector instruction. And restrict the transform to simple stores since we don't have tests for volatile or atomic. Fixes #189037
Author
Parents
Loading