Skip to content

Commit cfdfb87

Browse files
committed
correct test
1 parent 9481e45 commit cfdfb87

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

llvm/test/Transforms/InstCombine/or.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2061,12 +2061,12 @@ define i32 @or_zext_constant(i8 %a) {
20612061

20622062
define i32 @or_zext_minus_constant(i8 %a) {
20632063
; CHECK-LABEL: @or_zext_minus_constant(
2064-
; CHECK-NEXT: [[TMP1:%.*]] = or i8 [[A:%.*]], 1
2065-
; CHECK-NEXT: [[OR:%.*]] = zext i8 [[TMP1]] to i32
2066-
; CHECK-NEXT: ret i32 [[OR]]
2064+
; CHECK-NEXT: [[OR:%.*]] = zext i8 [[TMP1:%.*]] to i32
2065+
; CHECK-NEXT: [[OR1:%.*]] = or i32 [[OR]], -9
2066+
; CHECK-NEXT: ret i32 [[OR1]]
20672067
;
20682068
%zext = zext i8 %a to i32
2069-
%or = or i32 %zext, 1
2069+
%or = or i32 %zext, -9
20702070
ret i32 %or
20712071
}
20722072

0 commit comments

Comments
 (0)