Skip to content

Commit 57cb2fc

Browse files
author
klensy
committed
Transforms
1 parent 9c767a3 commit 57cb2fc

File tree

12 files changed

+25
-26
lines changed

12 files changed

+25
-26
lines changed

llvm/test/Transforms/Attributor/cb_liveness_disabled.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ define i32 @test_ncheck2(i32 %0) #0 {
189189

190190
attributes #0 = { noinline nounwind sspstrong uwtable}
191191

192-
; TUNIT_: !0 = !{i32 0, i32 101}
193-
; TUNIT_: !1 = !{i32 100, i32 201}
192+
; TUNIT: !0 = !{i32 0, i32 101}
193+
; TUNIT: !1 = !{i32 100, i32 201}
194194
;.
195195
; TUNIT: attributes #[[ATTR0]] = { mustprogress nofree noinline norecurse nosync nounwind sspstrong willreturn memory(none) uwtable }
196196
; TUNIT: attributes #[[ATTR1:[0-9]+]] = { nofree nosync nounwind willreturn memory(none) }

llvm/test/Transforms/Attributor/cb_liveness_enabled.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ define i32 @test_ncheck2(i32 %0) #0 {
192192

193193
attributes #0 = { noinline nounwind sspstrong uwtable}
194194

195-
; TUNIT_: !0 = !{i32 0, i32 101}
196-
; TUNIT_: !1 = !{i32 100, i32 201}
195+
; TUNIT: !0 = !{i32 0, i32 101}
196+
; TUNIT: !1 = !{i32 100, i32 201}
197197
;.
198198
; TUNIT: attributes #[[ATTR0]] = { mustprogress nofree noinline norecurse nosync nounwind sspstrong willreturn memory(none) uwtable }
199199
; TUNIT: attributes #[[ATTR1:[0-9]+]] = { nofree nosync nounwind willreturn memory(none) }

llvm/test/Transforms/Attributor/returned.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ define ptr @dont_use_const() #0 {
14151415
;
14161416
; Verify we do not derive constraints for @_Z3fooP1X as if it was returning `null`.
14171417
;
1418-
; CHEKC-NOT: noalias
1418+
; CHECK-NOT: noalias
14191419
; CHECK-NOT: align 536870912
14201420

14211421
%struct.Y = type { %struct.X }

llvm/test/Transforms/CallSiteSplitting/callsite-split.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ declare void @dummy1(ptr, ptr, ptr, ptr, ptr, ptr)
7272
;CHECK: call void @dummy4()
7373
;CHECK-LABEL: NextCond.split:
7474
;CHECK: call void @dummy3()
75-
;CheCK-LABEL: CallSiteBB:
75+
;CHECK-LABEL: CallSiteBB:
7676
;CHECK: call void @foo(i1 %tobool1)
7777
define void @caller2(i1 %c, ptr %a_elt, ptr %b_elt, ptr %c_elt) {
7878
entry:

llvm/test/Transforms/FunctionAttrs/nonnull.ll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,6 @@ declare i8 @use1safecall(ptr %x) nounwind willreturn ; nounwind+willreturn guara
716716
; Without noundef, nonnull cannot be propagated to the parent
717717

718718
define void @parent_poison(ptr %a) {
719-
; FNATTR-LABEL: @parent_poison(ptr %a)
720719
; FNATTRS-LABEL: define void @parent_poison(
721720
; FNATTRS-SAME: ptr [[A:%.*]]) {
722721
; FNATTRS-NEXT: call void @use1nonnull_without_noundef(ptr [[A]])

llvm/test/Transforms/GVNSink/sink-common-code.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ declare i32 @foo(i32, i32) nounwind readnone
7878
; ret i32 %ret
7979
;}
8080
;
81-
; -CHECK-LABEL: test3
82-
; -CHECK: select
83-
; -CHECK: call
84-
; -CHECK: call
85-
; -CHECK: add
86-
; -CHECK-NOT: br
81+
; COM: CHECK-LABEL: test3
82+
; COM: CHECK: select
83+
; COM: CHECK: call
84+
; COM: CHECK: call
85+
; COM: CHECK: add
86+
; COM: CHECK-NOT: br
8787

8888
define i32 @test4(i1 zeroext %flag, i32 %x, ptr %y) {
8989
entry:

llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ define float @fadd_scalar_vf_fmf(ptr noalias nocapture readonly %a, i64 %n) {
911911
; CHECK-UNORDERED: [[SUM_07:%.*]] = phi float [ [[MERGE_RDX]], %scalar.ph ], [ [[FADD5:%.*]], %for.body ]
912912
; CHECK-UNORDERED: [[LOAD5:%.*]] = load float, ptr
913913
; CHECK-UNORDERED: [[FADD5]] = fadd nnan float [[LOAD5]], [[SUM_07]]
914-
; CHECK-UORDERED: for.end
914+
; CHECK-UNORDERED: for.end
915915
; CHECK-UNORDERED: [[RES:%.*]] = phi float [ [[FADD5]], %for.body ], [ [[BIN_RDX3]], %middle.block ]
916916
; CHECK-UNORDERED: ret float [[RES]]
917917

llvm/test/Transforms/LoopVectorize/branch-weights.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ exit:
7575

7676
; CHECK: [[PROF_F0_ENTRY]] = !{!"branch_weights", i32 12, i32 1}
7777
; CHECK: [[PROF_F0_UNLIKELY]] = !{!"branch_weights", i32 1, i32 127}
78-
; CEHCK: [[PROF_F0_VECTOR_BODY]] = !{!"branch_weights", i32 1, i32 307}
78+
; CHECK: [[PROF_F0_VECTOR_BODY]] = !{!"branch_weights", i32 1, i32 307}
7979
; CHECK: [[PROF_F0_MIDDLE_BLOCKS]] = !{!"branch_weights", i32 1, i32 3}
8080
; CHECK: [[PROF_F0_VEC_EPILOGUE_SKIP]] = !{!"branch_weights", i32 4, i32 0}
8181
; CHECK: [[PROF_F0_VEC_EPILOG_VECTOR_BODY]] = !{!"branch_weights", i32 0, i32 0}
82-
; CEHCK: [[PROF_F0_LOOP]] = !{!"branch_weights", i32 2, i32 1}
82+
; CHECK: [[PROF_F0_LOOP]] = !{!"branch_weights", i32 2, i32 1}

llvm/test/Transforms/ObjCARC/rv.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ entry:
103103
; directly to a return value.
104104

105105
; TODO
106-
; HECK: define ptr @test5
107-
; HECK: call ptr @returner()
108-
; HECK-NEXT: ret ptr %call
106+
; COM: CHECK: define ptr @test5
107+
; COM: CHECK: call ptr @returner()
108+
; COM: CHECK-NEXT: ret ptr %call
109109
;define ptr @test5() {
110110
;entry:
111111
; %call = call ptr @returner()

llvm/test/Transforms/PGOProfile/counter_promo_exit_catchswitch.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ for.cond: ; preds = %for.inc, %entry
3737
for.body: ; preds = %for.cond
3838
; CHECK: for.body:
3939
; NOTENTRY: %pgocount1 = load i64, ptr @"__profc_?run@@YAXH@Z"
40-
; TENTRY: %pgocount1 = load i64, ptr getelementptr inbounds ([3 x i64], ptr @"__profc_?run@@YAXH@Z", i32 0, i32 1)
40+
; ENTRY: %pgocount1 = load i64, ptr getelementptr inbounds ([3 x i64], ptr @"__profc_?run@@YAXH@Z", i32 0, i32 1)
4141
; CHECK: %1 = add i64 %pgocount1, 1
4242
; NOTENTRY: store i64 %1, ptr @"__profc_?run@@YAXH@Z"
4343
; ENTRY: store i64 %1, ptr getelementptr inbounds ([3 x i64], ptr @"__profc_?run@@YAXH@Z", i32 0, i32 1)

llvm/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ invoke.cont:
3535
; ICALL-PROM: [[DIRCALL_RET:%[0-9]+]] = invoke ptr @_ZN1D4funcEv(ptr %call)
3636
; ICALL-PROM-NEXT: to label %if.end.icp unwind label %lpad
3737
; ICALL-PROM:if.false.orig_indirect:
38-
; ICAll-PROM: %call2 = invoke ptr %tmp3(ptr %call)
39-
; ICAll-PROM: to label %invoke.cont1 unwind label %lpad
38+
; ICALL-PROM: %call2 = invoke ptr %tmp3(ptr %call)
39+
; ICALL-PROM: to label %invoke.cont1 unwind label %lpad
4040
; ICALL-PROM:if.end.icp:
4141
; ICALL-PROM: br label %invoke.cont1
4242
%call2 = invoke ptr %tmp3(ptr %call)
4343
to label %invoke.cont1 unwind label %lpad, !prof !1
4444

4545
invoke.cont1:
46-
; ICAll-PROM: [[PHI_RET:%[0-9]+]] = phi ptr [ %call2, %if.false.orig_indirect ], [ [[DIRCALL_RET]], %if.end.icp ]
47-
; ICAll-PROM: %isnull = icmp eq ptr [[PHI_RET]], null
46+
; ICALL-PROM: [[PHI_RET:%[0-9]+]] = phi ptr [ %call2, %if.false.orig_indirect ], [ [[DIRCALL_RET]], %if.end.icp ]
47+
; ICALL-PROM: %isnull = icmp eq ptr [[PHI_RET]], null
4848
%isnull = icmp eq ptr %call2, null
4949
br i1 %isnull, label %delete.end, label %delete.notnull
5050

llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ lor.lhs.false:
6767
%cmp1 = icmp slt i32 %add, %b
6868
br i1 %cmp1, label %cond.false, label %cond.end
6969
; NORMAL-LABEL: lor.lhs.false:
70-
; AGGRESIVE-LABEL: lor.lhs.false:
71-
; WAYAGGRESIVE-LABEL: lor.lhs.false:
70+
; AGGRESSIVE-LABEL: lor.lhs.false:
71+
; WAYAGGRESSIVE-LABEL: lor.lhs.false:
7272
; NORMAL: br i1
7373
; AGGRESSIVE: br i1
7474
; WAYAGGRESSIVE-NOT: br i1

0 commit comments

Comments
 (0)