File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 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
67define 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
You can’t perform that action at this time.
0 commit comments