[PATCH] D119319: [AArch64] Emit TBAA metadata for SVE load/store intrinsics
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 9 00:09:45 PST 2022
sdesmalen created this revision.
Herald added subscribers: ctetreau, jeroen.dobbelaere, kosarev, hiraditya, kristof.beyls, tschuett.
sdesmalen requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
In Clang we can attach TBAA metadata based on the load/store intrinsics
based on the operation's element type.
This also contains changes to InstCombine where the AArch64-specific
intrinsics are transformed into generic LLVM load/store operations,
to ensure that all metadata is transferred to the new instruction.
There will be some further work after this patch to also emit TBAA
metadata for SVE's gather/scatter- and struct load/store intrinsics.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D119319
Files:
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_ld1.c
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119319.407060.patch
Type: text/x-patch
Size: 30082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220209/ce04e2c3/attachment-0001.bin>
More information about the cfe-commits
mailing list