This adds LLVMAnyPointerToElt to use instead of LLVMPointerToElt.
This allows us to preserve the address space as part of the type
overload for the intrinsic, but still require the vector element
type to match the pointer type.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
Landing this will break VP strided load/store RVV and VE tests. I'll attach a diff for the VE ones that you can merge into this patch.
Update for vp_strided_load|store.ll tests to be fused into this patch (no attribution necessary):
The parser barely relies on the type parts of the name so it doesn't fail. But I'll add in your patch. The RVV tests haven't been committed yet
clang-format not found in user’s local PATH; not linting file.