Skip to content

Commit ca0cb24

Browse files
authored
Fix mistake that happened during rebase
Some text was mistakenly removed during the rebase of this PR. This reverts that.
1 parent 860242d commit ca0cb24

File tree

1 file changed

+4
-0
lines changed
  • llvm/test/Transforms/InstCombine

1 file changed

+4
-0
lines changed

llvm/test/Transforms/InstCombine/lshr.ll

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ define i32 @mul_splat_fold_wrong_mul_const(i32 %x) {
444444
ret i32 %t
445445
}
446446

447+
; Negative test
448+
447449
define i32 @shl_add_lshr_multiuse(i32 %x, i32 %y, i32 %z) {
448450
; CHECK-LABEL: @shl_add_lshr_multiuse(
449451
; CHECK-NEXT: [[SHL:%.*]] = shl nuw i32 [[X:%.*]], [[Y:%.*]]
@@ -483,6 +485,8 @@ define i32 @mul_splat_fold_wrong_lshr_const(i32 %x) {
483485
ret i32 %t
484486
}
485487

488+
; Negative test
489+
486490
define i32 @mul_splat_fold_no_nuw(i32 %x) {
487491
; CHECK-LABEL: @mul_splat_fold_no_nuw(
488492
; CHECK-NEXT: [[M:%.*]] = mul nsw i32 [[X:%.*]], 65537

0 commit comments

Comments
 (0)