[llvm] [MergedLoadStore] Preserve common metadata when sinking stores. (PR #116382)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 05:46:51 PST 2024
================
@@ -19,7 +19,7 @@ define void @perserve_common_metadata(i1 %c, ptr %dst, ptr %min) {
; CHECK-NEXT: br label %[[RETURN]]
; CHECK: [[RETURN]]:
; CHECK-NEXT: [[DOTSINK:%.*]] = phi ptr [ [[DST]], %[[THEN]] ], [ null, %[[ELSE]] ]
-; CHECK-NEXT: store ptr [[DOTSINK]], ptr [[GEP_DST_16]], align 8
+; CHECK-NEXT: store ptr [[DOTSINK]], ptr [[GEP_DST_16]], align 8, !tbaa [[TBAA4:![0-9]+]], !alias.scope [[META6:![0-9]+]], !noalias [[META6]], !llvm.access.group [[ACC_GRP9:![0-9]+]]
----------------
nikic wrote:
Remove FIXME above.
https://github.com/llvm/llvm-project/pull/116382
More information about the llvm-commits
mailing list