Skip to content

Commit 0e76a9b

Browse files
committed
[NFC][InstCombine] Update few comment updates i missed in 0ac56e8
As pointed out in post-commit review in that commit
1 parent c6543cc commit 0e76a9b

3 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎llvm/test/Transforms/InstCombine/apint-shift.ll‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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-
214212
define 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-
250246
define i18 @test13(i18 %x) {
251247
; CHECK-LABEL: @test13(
252248
; CHECK-NEXT: [[TMP1:%.*]] = mul i18 [[X:%.*]], 6

‎llvm/test/Transforms/InstCombine/cast.ll‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

700699
define i64 @test51(i64 %A, i1 %cond) {

‎llvm/test/Transforms/InstCombine/shift.ll‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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.
8886
define 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
114111
define 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.
143138
define i8 @test13(i8 %x) {
144139
; CHECK-LABEL: @test13(
145140
; CHECK-NEXT: [[TMP1:%.*]] = mul i8 [[X:%.*]], 6

0 commit comments

Comments
 (0)