Skip to content

Commit

Permalink
strengthen test for macos ordering (rust-lang#974)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Jan 30, 2023
1 parent ae31fac commit 28004af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions enzyme/test/Enzyme/ReverseMode/condswload.ll
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ entry:
; CHECK-NEXT: %7 = phi {{(fast )?}}double [ %l3_unwrap, %invertend_phirc ], [ %l1_unwrap, %invertend_phirc1 ], [ %l2_unwrap, %invertend_phirc2 ]
; CHECK-NEXT: %m0diffep = fmul fast double %0, %7
; CHECK-NEXT: %8 = fadd fast double %m0diffep, %m0diffep
; CHECK-NEXT: %9 = icmp eq i32 17, %val
; CHECK-NEXT: %10 = icmp eq i32 42, %val
; CHECK-NEXT: %11 = or i1 %9, %10
; CHECK-DAG: %[[i9:.+]] = icmp eq i32 17, %val
; CHECK-DAG: %[[i10:.+]] = icmp eq i32 42, %val
; CHECK-DAG: %11 = or i1 %[[i9]], %[[i10]]
; CHECK-NEXT: %12 = select {{(fast )?}}i1 %11, double 0.000000e+00, double %8
; CHECK-NEXT: %13 = select {{(fast )?}}i1 %10, double %8, double 0.000000e+00
; CHECK-NEXT: %14 = select {{(fast )?}}i1 %9, double %8, double 0.000000e+00
Expand Down

0 comments on commit 28004af

Please sign in to comment.