File tree Expand file tree Collapse file tree
llvm/test/Transforms/InstCombine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,8 +209,6 @@ define <2 x i7> @shl_lshr_splat_vec(<2 x i7> %X) {
209209 ret <2 x i7 > %sh2
210210}
211211
212- ; Don't hide the shl from scalar evolution. DAGCombine will get it.
213-
214212define i23 @test11 (i23 %x ) {
215213; CHECK-LABEL: @test11(
216214; CHECK-NEXT: [[TMP1:%.*]] = mul i23 [[X:%.*]], 6
@@ -245,8 +243,6 @@ define <2 x i47> @test12_splat_vec(<2 x i47> %X) {
245243 ret <2 x i47 > %sh2
246244}
247245
248- ; Don't hide the shl from scalar evolution. DAGCombine will get it.
249-
250246define i18 @test13 (i18 %x ) {
251247; CHECK-LABEL: @test13(
252248; CHECK-NEXT: [[TMP1:%.*]] = mul i18 [[X:%.*]], 6
Original file line number Diff line number Diff line change @@ -694,7 +694,6 @@ define i64 @test50(i64 %x) {
694694 %D = add i32 %B , -1
695695 %E = sext i32 %D to i64
696696 ret i64 %E
697- ; lshr+shl will be handled by DAGCombine.
698697}
699698
700699define i64 @test51 (i64 %A , i1 %cond ) {
Original file line number Diff line number Diff line change @@ -82,9 +82,7 @@ define i8 @test10a(i8 %A) {
8282 ret i8 %C
8383}
8484
85- ;; This transformation is deferred to DAGCombine:
8685;; (A >> 3) << 4 === (A & 0x1F) << 1
87- ;; The shl may be valuable to scalar evolution.
8886define i8 @test11 (i8 %x ) {
8987; CHECK-LABEL: @test11(
9088; CHECK-NEXT: [[TMP1:%.*]] = mul i8 [[X:%.*]], 6
@@ -109,7 +107,6 @@ define i8 @test11a(i8 %A) {
109107 ret i8 %C
110108}
111109
112- ;; This is deferred to DAGCombine unless %B is single-use.
113110;; (A >> 8) << 8 === A & -256
114111define i32 @test12 (i32 %A ) {
115112; CHECK-LABEL: @test12(
@@ -137,9 +134,7 @@ define i8 @shishi(i8 %x) {
137134 ret i8 %r
138135}
139136
140- ;; This transformation is deferred to DAGCombine:
141137;; (A >> 3) << 4 === (A & -8) * 2
142- ;; The shl may be valuable to scalar evolution.
143138define i8 @test13 (i8 %x ) {
144139; CHECK-LABEL: @test13(
145140; CHECK-NEXT: [[TMP1:%.*]] = mul i8 [[X:%.*]], 6
You can’t perform that action at this time.
0 commit comments