[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:39:23 PST 2024
================
@@ -7,9 +7,9 @@ define void @load_store_transfer_split_struct_tbaa_2_float(ptr dereferenceable(2
; CHECK-NEXT: entry:
; CHECK-NEXT: [[TMP0:%.*]] = bitcast float [[A]] to i32
; CHECK-NEXT: [[TMP1:%.*]] = bitcast float [[B]] to i32
-; CHECK-NEXT: store i32 [[TMP0]], ptr [[RES]], align 4
+; CHECK-NEXT: store i32 [[TMP0]], ptr [[RES]], align 4, !tbaa.struct [[TBAA_STRUCT0:![0-9]+]]
----------------
dobbelaj-snps wrote:
Shouldn't we aim for also getting a !tbaa [[tbaa1]] here ? This is maybe related to my comment in #81285
https://github.com/llvm/llvm-project/pull/81289
More information about the llvm-branch-commits
mailing list