forked from OSchip/llvm-project
[IndVars] Regenerate test checks (NFC)
This commit is contained in:
parent
09b6dffb8e
commit
c84a952dc7
|
@ -16,12 +16,12 @@ define void @postincConstIV(i8* %base, i32 %limit) nounwind {
|
|||
; CHECK: loop:
|
||||
; CHECK-NEXT: [[INDVARS_IV:%.*]] = phi i64 [ [[INDVARS_IV_NEXT:%.*]], [[LOOP]] ], [ 0, [[ENTRY:%.*]] ]
|
||||
; CHECK-NEXT: [[PREADR:%.*]] = getelementptr i8, i8* [[BASE:%.*]], i64 [[INDVARS_IV]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[PREADR]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[PREADR]], align 1
|
||||
; CHECK-NEXT: [[INDVARS_IV_NEXT]] = add nuw nsw i64 [[INDVARS_IV]], 1
|
||||
; CHECK-NEXT: [[POSTADR:%.*]] = getelementptr i8, i8* [[BASE]], i64 [[INDVARS_IV_NEXT]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADR]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADR]], align 1
|
||||
; CHECK-NEXT: [[POSTADRNSW:%.*]] = getelementptr inbounds i8, i8* [[BASE]], i64 [[INDVARS_IV_NEXT]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADRNSW]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADRNSW]], align 1
|
||||
; CHECK-NEXT: [[EXITCOND:%.*]] = icmp ne i64 [[INDVARS_IV_NEXT]], [[WIDE_TRIP_COUNT]]
|
||||
; CHECK-NEXT: br i1 [[EXITCOND]], label [[LOOP]], label [[EXIT:%.*]]
|
||||
; CHECK: exit:
|
||||
|
@ -68,12 +68,12 @@ define void @postincVarIV(i8* %base, i32 %init, i32 %limit) nounwind {
|
|||
; CHECK: loop:
|
||||
; CHECK-NEXT: [[INDVARS_IV:%.*]] = phi i64 [ [[TMP0]], [[LOOP_PREHEADER]] ], [ [[INDVARS_IV_NEXT:%.*]], [[LOOP]] ]
|
||||
; CHECK-NEXT: [[PREADR:%.*]] = getelementptr i8, i8* [[BASE:%.*]], i64 [[INDVARS_IV]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[PREADR]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[PREADR]], align 1
|
||||
; CHECK-NEXT: [[INDVARS_IV_NEXT]] = add nsw i64 [[INDVARS_IV]], 1
|
||||
; CHECK-NEXT: [[POSTADR:%.*]] = getelementptr i8, i8* [[BASE]], i64 [[INDVARS_IV_NEXT]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADR]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADR]], align 1
|
||||
; CHECK-NEXT: [[POSTADRNSW:%.*]] = getelementptr i8, i8* [[BASE]], i64 [[INDVARS_IV_NEXT]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADRNSW]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[POSTADRNSW]], align 1
|
||||
; CHECK-NEXT: [[EXITCOND:%.*]] = icmp ne i64 [[INDVARS_IV_NEXT]], [[WIDE_TRIP_COUNT]]
|
||||
; CHECK-NEXT: br i1 [[EXITCOND]], label [[LOOP]], label [[EXIT:%.*]]
|
||||
; CHECK: exit:
|
||||
|
@ -125,7 +125,7 @@ define void @nestedIV(i8* %address, i32 %limit) nounwind {
|
|||
; CHECK-NEXT: [[INNERCOUNT:%.*]] = phi i32 [ [[INNERCOUNT_MERGE:%.*]], [[OUTERMERGE]] ], [ 0, [[ENTRY]] ]
|
||||
; CHECK-NEXT: [[TMP2:%.*]] = add nsw i64 [[INDVARS_IV1]], -1
|
||||
; CHECK-NEXT: [[ADR1:%.*]] = getelementptr i8, i8* [[ADDRESS:%.*]], i64 [[TMP2]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR1]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR1]], align 1
|
||||
; CHECK-NEXT: br label [[INNERPREHEADER:%.*]]
|
||||
; CHECK: innerpreheader:
|
||||
; CHECK-NEXT: [[INNERPRECMP:%.*]] = icmp sgt i32 [[LIMITDEC]], [[INNERCOUNT]]
|
||||
|
@ -137,9 +137,9 @@ define void @nestedIV(i8* %address, i32 %limit) nounwind {
|
|||
; CHECK-NEXT: [[INDVARS_IV:%.*]] = phi i64 [ [[TMP3]], [[INNERLOOP_PREHEADER]] ], [ [[INDVARS_IV_NEXT:%.*]], [[INNERLOOP]] ]
|
||||
; CHECK-NEXT: [[INDVARS_IV_NEXT]] = add nsw i64 [[INDVARS_IV]], 1
|
||||
; CHECK-NEXT: [[ADR2:%.*]] = getelementptr i8, i8* [[ADDRESS]], i64 [[INDVARS_IV]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR2]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR2]], align 1
|
||||
; CHECK-NEXT: [[ADR3:%.*]] = getelementptr i8, i8* [[ADDRESS]], i64 [[INDVARS_IV_NEXT]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR3]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR3]], align 1
|
||||
; CHECK-NEXT: [[EXITCOND:%.*]] = icmp ne i64 [[INDVARS_IV_NEXT]], [[TMP0]]
|
||||
; CHECK-NEXT: br i1 [[EXITCOND]], label [[INNERLOOP]], label [[INNEREXIT:%.*]]
|
||||
; CHECK: innerexit:
|
||||
|
@ -149,10 +149,10 @@ define void @nestedIV(i8* %address, i32 %limit) nounwind {
|
|||
; CHECK: outermerge:
|
||||
; CHECK-NEXT: [[INNERCOUNT_MERGE]] = phi i32 [ [[TMP4]], [[INNEREXIT]] ], [ [[INNERCOUNT]], [[INNERPREHEADER]] ]
|
||||
; CHECK-NEXT: [[ADR4:%.*]] = getelementptr i8, i8* [[ADDRESS]], i64 [[INDVARS_IV1]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR4]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR4]], align 1
|
||||
; CHECK-NEXT: [[OFS5:%.*]] = sext i32 [[INNERCOUNT_MERGE]] to i64
|
||||
; CHECK-NEXT: [[ADR5:%.*]] = getelementptr i8, i8* [[ADDRESS]], i64 [[OFS5]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR5]]
|
||||
; CHECK-NEXT: store i8 0, i8* [[ADR5]], align 1
|
||||
; CHECK-NEXT: [[INDVARS_IV_NEXT2]] = add nuw nsw i64 [[INDVARS_IV1]], 1
|
||||
; CHECK-NEXT: [[EXITCOND4:%.*]] = icmp ne i64 [[INDVARS_IV_NEXT2]], [[WIDE_TRIP_COUNT]]
|
||||
; CHECK-NEXT: br i1 [[EXITCOND4]], label [[OUTERLOOP]], label [[RETURN:%.*]]
|
||||
|
|
Loading…
Reference in New Issue