[llvm-branch-commits] [llvm] [SROA] Use !tbaa instead of !tbaa.struct if op matches field. (PR #81289)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Feb 9 11:33:05 PST 2024
================
@@ -4561,6 +4577,10 @@ bool SROA::presplitLoadsAndStores(AllocaInst &AI, AllocaSlices &AS) {
PStore->copyMetadata(*SI, {LLVMContext::MD_mem_parallel_loop_access,
LLVMContext::MD_access_group,
LLVMContext::MD_DIAssignID});
+
+ if (AATags)
+ PStore->setAAMetadata(
----------------
dobbelaj-snps wrote:
Is this part covered in a testcase ?
https://github.com/llvm/llvm-project/pull/81289
More information about the llvm-branch-commits
mailing list