Skip to content

Commit 324898f

Browse files
committed
Add a fparmv8 run line
1 parent c0a4160 commit 324898f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/test/CodeGen/ARM/lrint-conv.ll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
22
; RUN: llc < %s -mtriple=armv7-none-eabi -float-abi=soft | FileCheck %s --check-prefixes=CHECK,CHECK-SOFT
33
; RUN: llc < %s -mtriple=armv7-none-eabihf -mattr=+vfp2 -float-abi=hard | FileCheck %s --check-prefixes=CHECK,CHECK-NOFP16
4+
; RUN: llc < %s -mtriple=armv8-none-eabihf -mattr=+fp-armv8 -float-abi=hard | FileCheck %s --check-prefixes=CHECK,CHECK-FPv8
45
; RUN: llc < %s -mtriple=armv8-none-eabihf -mattr=+fp-armv8,+fullfp16 -float-abi=hard | FileCheck %s --check-prefixes=CHECK,CHECK-FP16
56

67
define i32 @testmswh_builtin(half %x) {
@@ -22,6 +23,11 @@ define i32 @testmswh_builtin(half %x) {
2223
; CHECK-NOFP16-NEXT: pop {r11, lr}
2324
; CHECK-NOFP16-NEXT: b lrintf
2425
;
26+
; CHECK-FPv8-LABEL: testmswh_builtin:
27+
; CHECK-FPv8: @ %bb.0: @ %entry
28+
; CHECK-FPv8-NEXT: vcvtb.f32.f16 s0, s0
29+
; CHECK-FPv8-NEXT: b lrintf
30+
;
2531
; CHECK-FP16-LABEL: testmswh_builtin:
2632
; CHECK-FP16: @ %bb.0: @ %entry
2733
; CHECK-FP16-NEXT: vrintx.f16 s0, s0

0 commit comments

Comments
 (0)