OLD | NEW |
1 ; Tests if we can read binary operators. | 1 ; Tests if we can read binary operators. |
2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
3 ; RUN: %p2i -i %s --insts | FileCheck %s | 5 ; RUN: %p2i -i %s --insts | FileCheck %s |
4 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s | 6 ; RUN: %l2i -i %s --insts | %ifl FileCheck %s |
5 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s | 7 ; RUN: %lc2i -i %s --insts | %iflc FileCheck %s |
6 ; RUN: %if --need=allow_disable_ir_gen --command \ | 8 ; RUN: %if --need=allow_disable_ir_gen --command \ |
7 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ | 9 ; RUN: %p2i -i %s --args -notranslate -timing -no-ir-gen \ |
8 ; RUN: | %if --need=allow_disable_ir_gen --command \ | 10 ; RUN: | %if --need=allow_disable_ir_gen --command \ |
9 ; RUN: FileCheck --check-prefix=NOIR %s | 11 ; RUN: FileCheck --check-prefix=NOIR %s |
10 | 12 |
11 ; TODO(kschimpf): add i8/i16. Needs bitcasts. | 13 ; TODO(kschimpf): add i8/i16. Needs bitcasts. |
12 | 14 |
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
964 ret <4 x i32> %lshr | 966 ret <4 x i32> %lshr |
965 } | 967 } |
966 | 968 |
967 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { | 969 ; CHECK-NEXT: define <4 x i32> @LshrV4I32(<4 x i32> %a, <4 x i32> %b) { |
968 ; CHECK-NEXT: entry: | 970 ; CHECK-NEXT: entry: |
969 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a | 971 ; CHECK-NEXT: %lshr = lshr <4 x i32> %b, %a |
970 ; CHECK-NEXT: ret <4 x i32> %lshr | 972 ; CHECK-NEXT: ret <4 x i32> %lshr |
971 ; CHECK-NEXT: } | 973 ; CHECK-NEXT: } |
972 | 974 |
973 ; NOIR: Total across all functions | 975 ; NOIR: Total across all functions |
OLD | NEW |