1
1
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2
- ; RUN: opt < %s -passes=instcombine -S | FileCheck %s
2
+ ; RUN: opt < %s -passes=' instcombine<no-verify-fixpoint>' -S | FileCheck %s
3
3
4
4
declare void @use (i8 )
5
5
@@ -434,7 +434,7 @@ define i1 @icmp_or_xor_2_3_fail(i64 %x1, i64 %y1, i64 %x2, i64 %y2) {
434
434
; CHECK-NEXT: [[XOR1:%.*]] = xor i64 [[X2:%.*]], [[Y2:%.*]]
435
435
; CHECK-NEXT: [[OR:%.*]] = or i64 [[XOR]], [[XOR1]]
436
436
; CHECK-NEXT: [[CMP:%.*]] = icmp eq i64 [[OR]], 0
437
- ; CHECK-NEXT: [[CMP_1:%.*]] = icmp eq i64 [[XOR ]], 0
437
+ ; CHECK-NEXT: [[CMP_1:%.*]] = icmp eq i64 [[X1 ]], [[Y1]]
438
438
; CHECK-NEXT: [[OR1:%.*]] = or i1 [[CMP]], [[CMP_1]]
439
439
; CHECK-NEXT: ret i1 [[OR1]]
440
440
;
@@ -455,7 +455,7 @@ define i1 @icmp_or_xor_2_4_fail(i64 %x1, i64 %y1, i64 %x2, i64 %y2) {
455
455
; CHECK-NEXT: [[XOR1:%.*]] = xor i64 [[X2:%.*]], [[Y2:%.*]]
456
456
; CHECK-NEXT: [[OR:%.*]] = or i64 [[XOR]], [[XOR1]]
457
457
; CHECK-NEXT: [[CMP:%.*]] = icmp eq i64 [[OR]], 0
458
- ; CHECK-NEXT: [[CMP_1:%.*]] = icmp eq i64 [[XOR1 ]], 0
458
+ ; CHECK-NEXT: [[CMP_1:%.*]] = icmp eq i64 [[X2 ]], [[Y2]]
459
459
; CHECK-NEXT: [[OR1:%.*]] = or i1 [[CMP]], [[CMP_1]]
460
460
; CHECK-NEXT: ret i1 [[OR1]]
461
461
;
@@ -955,7 +955,7 @@ define i1 @icmp_or_xor_with_sub_3_6(i64 %x1, i64 %y1, i64 %x2, i64 %y2, i64 %x3,
955
955
956
956
define i1 @or_disjoint_with_constants (i8 %x ) {
957
957
; CHECK-LABEL: @or_disjoint_with_constants(
958
- ; CHECK-NEXT: [[CMP:%.*]] = icmp eq i8 [[TMP1 :%.*]], 18
958
+ ; CHECK-NEXT: [[CMP:%.*]] = icmp eq i8 [[X :%.*]], 18
959
959
; CHECK-NEXT: ret i1 [[CMP]]
960
960
;
961
961
%or = or disjoint i8 %x , 1
@@ -966,8 +966,8 @@ define i1 @or_disjoint_with_constants(i8 %x) {
966
966
967
967
define i1 @or_disjoint_with_constants2 (i8 %x ) {
968
968
; CHECK-LABEL: @or_disjoint_with_constants2(
969
- ; CHECK-NEXT: [[OR:%.*]] = or disjoint i8 [[TMP1 :%.*]], 5
970
- ; CHECK-NEXT: [[CMP:%.*]] = icmp ne i8 [[TMP1 ]], 66
969
+ ; CHECK-NEXT: [[OR:%.*]] = or disjoint i8 [[X :%.*]], 5
970
+ ; CHECK-NEXT: [[CMP:%.*]] = icmp ne i8 [[X ]], 66
971
971
; CHECK-NEXT: call void @use(i8 [[OR]])
972
972
; CHECK-NEXT: ret i1 [[CMP]]
973
973
;
0 commit comments