|
1 | 1 | ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
2 |
| -; RUN: llc -mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32,RV32-ZVFH |
3 |
| -; RUN: llc -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64,RV64-ZVFH |
4 |
| -; RUN: llc -mtriple=riscv32 -mattr=+d,+zvfhmin,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32,RV32-ZVFHMIN |
5 |
| -; RUN: llc -mtriple=riscv64 -mattr=+d,+zvfhmin,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64,RV64-ZVFHMIN |
| 2 | +; RUN: llc -mtriple=riscv32 -mattr=+d,+zvfh,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32 |
| 3 | +; RUN: llc -mtriple=riscv64 -mattr=+d,+zvfh,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64 |
| 4 | +; RUN: llc -mtriple=riscv32 -mattr=+d,+zvfhmin,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV32 |
| 5 | +; RUN: llc -mtriple=riscv64 -mattr=+d,+zvfhmin,+v -verify-machineinstrs < %s | FileCheck %s --check-prefixes=CHECK,RV64 |
6 | 6 |
|
7 | 7 | define <4 x half> @shuffle_v4f16(<4 x half> %x, <4 x half> %y) {
|
8 | 8 | ; CHECK-LABEL: shuffle_v4f16:
|
@@ -298,33 +298,12 @@ define <4 x half> @vrgather_shuffle_vv_v4f16(<4 x half> %x, <4 x half> %y) {
|
298 | 298 | }
|
299 | 299 |
|
300 | 300 | define <4 x half> @vrgather_shuffle_vx_v4f16_load(ptr %p) {
|
301 |
| -; RV32-ZVFH-LABEL: vrgather_shuffle_vx_v4f16_load: |
302 |
| -; RV32-ZVFH: # %bb.0: |
303 |
| -; RV32-ZVFH-NEXT: flh fa5, 2(a0) |
304 |
| -; RV32-ZVFH-NEXT: vsetivli zero, 4, e16, mf2, ta, ma |
305 |
| -; RV32-ZVFH-NEXT: vfmv.v.f v8, fa5 |
306 |
| -; RV32-ZVFH-NEXT: ret |
307 |
| -; |
308 |
| -; RV64-ZVFH-LABEL: vrgather_shuffle_vx_v4f16_load: |
309 |
| -; RV64-ZVFH: # %bb.0: |
310 |
| -; RV64-ZVFH-NEXT: flh fa5, 2(a0) |
311 |
| -; RV64-ZVFH-NEXT: vsetivli zero, 4, e16, mf2, ta, ma |
312 |
| -; RV64-ZVFH-NEXT: vfmv.v.f v8, fa5 |
313 |
| -; RV64-ZVFH-NEXT: ret |
314 |
| -; |
315 |
| -; RV32-ZVFHMIN-LABEL: vrgather_shuffle_vx_v4f16_load: |
316 |
| -; RV32-ZVFHMIN: # %bb.0: |
317 |
| -; RV32-ZVFHMIN-NEXT: lh a0, 2(a0) |
318 |
| -; RV32-ZVFHMIN-NEXT: vsetivli zero, 4, e16, mf2, ta, ma |
319 |
| -; RV32-ZVFHMIN-NEXT: vmv.v.x v8, a0 |
320 |
| -; RV32-ZVFHMIN-NEXT: ret |
321 |
| -; |
322 |
| -; RV64-ZVFHMIN-LABEL: vrgather_shuffle_vx_v4f16_load: |
323 |
| -; RV64-ZVFHMIN: # %bb.0: |
324 |
| -; RV64-ZVFHMIN-NEXT: lh a0, 2(a0) |
325 |
| -; RV64-ZVFHMIN-NEXT: vsetivli zero, 4, e16, mf2, ta, ma |
326 |
| -; RV64-ZVFHMIN-NEXT: vmv.v.x v8, a0 |
327 |
| -; RV64-ZVFHMIN-NEXT: ret |
| 301 | +; CHECK-LABEL: vrgather_shuffle_vx_v4f16_load: |
| 302 | +; CHECK: # %bb.0: |
| 303 | +; CHECK-NEXT: lh a0, 2(a0) |
| 304 | +; CHECK-NEXT: vsetivli zero, 4, e16, mf2, ta, ma |
| 305 | +; CHECK-NEXT: vmv.v.x v8, a0 |
| 306 | +; CHECK-NEXT: ret |
328 | 307 | %v = load <4 x half>, ptr %p
|
329 | 308 | %s = shufflevector <4 x half> %v, <4 x half> undef, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
|
330 | 309 | ret <4 x half> %s
|
|
0 commit comments