Skip to content

Commit 46abfd1

Browse files
committed
fix test and rebase
1 parent c155014 commit 46abfd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ entry:
12671267
define void @noalias_arg_simplifiable_2(ptr %Bytes) {
12681268
; TUNIT: Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn
12691269
; TUNIT-LABEL: define {{[^@]+}}@noalias_arg_simplifiable_2
1270-
; TUNIT-SAME: (ptr nofree captures(none) [[BYTES:%.*]]) #[[ATTR2]] {
1270+
; TUNIT-SAME: (ptr nofree nonnull captures(none) dereferenceable(24) [[BYTES:%.*]]) #[[ATTR2]] {
12711271
; TUNIT-NEXT: entry:
12721272
; TUNIT-NEXT: br label [[FOR_COND:%.*]]
12731273
; TUNIT: for.cond:
@@ -1344,7 +1344,7 @@ define void @noalias_arg_simplifiable_2(ptr %Bytes) {
13441344
;
13451345
; CGSCC: Function Attrs: mustprogress nofree nosync nounwind willreturn
13461346
; CGSCC-LABEL: define {{[^@]+}}@noalias_arg_simplifiable_2
1347-
; CGSCC-SAME: (ptr nofree captures(none) [[BYTES:%.*]]) #[[ATTR2]] {
1347+
; CGSCC-SAME: (ptr nofree nonnull align 4 captures(none) dereferenceable(1024) [[BYTES:%.*]]) #[[ATTR2]] {
13481348
; CGSCC-NEXT: entry:
13491349
; CGSCC-NEXT: br label [[FOR_COND:%.*]]
13501350
; CGSCC: for.cond:
@@ -1399,7 +1399,7 @@ define void @noalias_arg_simplifiable_2(ptr %Bytes) {
13991399
; CGSCC-NEXT: [[ARRAYIDX24:%.*]] = getelementptr inbounds i8, ptr [[BYTES]], i64 1023
14001400
; CGSCC-NEXT: store i8 0, ptr [[ARRAYIDX24]], align 1, !tbaa [[TBAA15]]
14011401
; CGSCC-NEXT: [[ARRAYIDX25:%.*]] = getelementptr inbounds i8, ptr [[BYTES]], i64 500
1402-
; CGSCC-NEXT: call void @write_arg(ptr nofree noundef nonnull writeonly align 4 captures(none) dereferenceable(4) [[ARRAYIDX25]], i32 noundef 0) #[[ATTR21]]
1402+
; CGSCC-NEXT: call void @write_arg(ptr nofree noundef nonnull writeonly align 4 captures(none) dereferenceable(524) [[ARRAYIDX25]], i32 noundef 0) #[[ATTR21]]
14031403
; CGSCC-NEXT: br label [[FOR_COND27:%.*]]
14041404
; CGSCC: for.cond27:
14051405
; CGSCC-NEXT: [[INDVARS_IV12:%.*]] = phi i64 [ [[INDVARS_IV_NEXT13:%.*]], [[FOR_INC35:%.*]] ], [ 0, [[FOR_END23]] ]

0 commit comments

Comments
 (0)