Skip to content

Commit cb0d1c0

Browse files
committed
Fix for merging PR llvm#89456 into llvm 18.X
1 parent ef59069 commit cb0d1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGen/attr-counted-by-pr88931.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void init(void * __attribute__((pass_dynamic_object_size(0))));
1414
// CHECK-LABEL: define dso_local void @test1(
1515
// CHECK-SAME: ptr noundef [[P:%.*]]) local_unnamed_addr #[[ATTR0:[0-9]+]] {
1616
// CHECK-NEXT: entry:
17-
// CHECK-NEXT: [[ARRAY:%.*]] = getelementptr inbounds i8, ptr [[P]], i64 4
17+
// CHECK-NEXT: [[ARRAY:%.*]] = getelementptr inbounds [[STRUCT_BAR:%.*]], ptr [[P]], i64 0, i32 1
1818
// CHECK-NEXT: tail call void @init(ptr noundef nonnull [[ARRAY]], i64 noundef -1) #[[ATTR2:[0-9]+]]
1919
// CHECK-NEXT: ret void
2020
//

0 commit comments

Comments
 (0)