OLD | NEW |
1 ; Test if we can read compare instructions. | 1 ; Test if we can read compare instructions. |
2 | 2 |
3 ; REQUIRES: allow_dump | |
4 | |
5 ; RUN: %p2i -i %s --insts | FileCheck %s | 3 ; RUN: %p2i -i %s --insts | FileCheck %s |
6 ; RUN: %if --need=allow_disable_ir_gen --command \ | 4 ; RUN: %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 5 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 6 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: FileCheck --check-prefix=NOIR %s | 7 ; RUN: FileCheck --check-prefix=NOIR %s |
10 | 8 |
11 define i1 @IcmpI1(i32 %p1, i32 %p2) { | 9 define i1 @IcmpI1(i32 %p1, i32 %p2) { |
12 entry: | 10 entry: |
13 %a1 = trunc i32 %p1 to i1 | 11 %a1 = trunc i32 %p1 to i1 |
14 %a2 = trunc i32 %p2 to i1 | 12 %a2 = trunc i32 %p2 to i1 |
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 | 468 ; CHECK-NEXT: %vuge = fcmp uge <4 x float> %a1, %a2 |
471 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 | 469 ; CHECK-NEXT: %vult = fcmp ult <4 x float> %a1, %a2 |
472 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 | 470 ; CHECK-NEXT: %vule = fcmp ule <4 x float> %a1, %a2 |
473 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 | 471 ; CHECK-NEXT: %vune = fcmp une <4 x float> %a1, %a2 |
474 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 | 472 ; CHECK-NEXT: %vuno = fcmp uno <4 x float> %a1, %a2 |
475 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 | 473 ; CHECK-NEXT: %vtrue = fcmp true <4 x float> %a1, %a2 |
476 ; CHECK-NEXT: ret <4 x i1> %voeq | 474 ; CHECK-NEXT: ret <4 x i1> %voeq |
477 ; CHECK-NEXT: } | 475 ; CHECK-NEXT: } |
478 | 476 |
479 ; NOIR: Total across all functions | 477 ; NOIR: Total across all functions |
OLD | NEW |