diff options
author | Hank Chang <hank.chang@sifive.com> | 2025-10-07 15:05:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-07 15:05:37 +0800 |
commit | 958ec32e7d9c54786df8b874b824a02dea87ef6a (patch) | |
tree | ef30061683b297356a5ac52aebc7f528e8c62ec5 /llvm/unittests/IR/FunctionTest.cpp | |
parent | 3751c8341583c5522df6f227fc7b7eb8a049b483 (diff) | |
download | llvm-958ec32e7d9c54786df8b874b824a02dea87ef6a.zip llvm-958ec32e7d9c54786df8b874b824a02dea87ef6a.tar.gz llvm-958ec32e7d9c54786df8b874b824a02dea87ef6a.tar.bz2 |
[ASan][RISCV] Support asan check for segment load/store RVV intrinsics. (#161317)
RVV segment is an array of `SegNum` contingous elements. This patch
emulates RVV segment as a large integer with bitwidth equaled to `SegNum
* SEW`. The reason to not emulate RVV segment as some aggregated type is
that vector type should use primitive types as element types.
There is another approach is to create `SegNum` InterestingMemoryOperand
objects. It could avoid create pseudo types, but this approach also
generates large code for asan check.
Co-authored-by: Yeting Kuo <yeting.kuo@sifive.com>
Diffstat (limited to 'llvm/unittests/IR/FunctionTest.cpp')
0 files changed, 0 insertions, 0 deletions