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

Yeting Kuo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 00:15:22 PDT 2023


fakepaper56 updated this revision to Diff 523673.
fakepaper56 added a comment.

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.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149245

Files:
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/test/Instrumentation/AddressSanitizer/asan-vp-load-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149245.523673.patch
Type: text/x-patch
Size: 6838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/381faf6f/attachment.bin>


More information about the llvm-commits mailing list