[PATCH] D122042: [VP] Preserve address space of pointer for strided load/store intrinsics.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 18 14:34:33 PDT 2022


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, rogfer01, simoll, loralb, nikic.
Herald added subscribers: dexonsmith, hiraditya.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added a subscriber: jdoerfert.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122042

Files:
  llvm/include/llvm/IR/Intrinsics.h
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/IR/Function.cpp
  llvm/lib/IR/IntrinsicInst.cpp
  llvm/unittests/IR/VPIntrinsicTest.cpp
  llvm/utils/TableGen/IntrinsicEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122042.416611.patch
Type: text/x-patch
Size: 8448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220318/0a6cc4be/attachment.bin>


More information about the llvm-commits mailing list