| ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6 | |
| ; RUN: llc < %s -O0 -mtriple=arm64-apple-ios | FileCheck %s | |
| define <4 x i32> @f(<4 x float> %v) { | |
| ; CHECK-LABEL: f: | |
| ; CHECK: ; %bb.0: ; %entry | |
| ; CHECK-NEXT: fcvtzs.4s v0, v0, #1 | |
| ; CHECK-NEXT: ret | |
| entry: | |
| %mul = fmul <4 x float> splat (float 2.000000e+00), %v | |
| %mul.fptosi = fptosi <4 x float> %mul to <4 x i32> | |
| ret <4 x i32> %mul.fptosi | |
| } |