[PATCH] D149245: [ASAN] Support memory checks on vp.gather/scatter.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 00:34:49 PDT 2023


craig.topper added a comment.

In D149245#4355490 <https://reviews.llvm.org/D149245#4355490>, @fakepaper56 wrote:

> Rebase. Do we have api to get the alignment of pointer vector?
> IR document say we could set aligment information to pointer vector like,
> `%r = call <8 x i8> @llvm.vp.gather.v8i8.v8p0(<8 x ptr>  align 8 %ptrs, <8 x i1> %mask, i32 %evl)`
> But the often used api getPointerAlignment() needs Value has pointer type.

There should be a getPointerAlignment in VPIntrinsic class that checks for an attribute.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149245/new/

https://reviews.llvm.org/D149245



More information about the llvm-commits mailing list