mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
94f22e4959
Differential Revision: https://reviews.llvm.org/D45514 llvm-svn: 330011
12 lines
335 B
LLVM
12 lines
335 B
LLVM
; RUN: llc -mtriple=armv8 -mattr=+neon %s -o - | FileCheck %s
|
|
|
|
declare float @llvm.arm.neon.vrintn.f32(float) nounwind readnone
|
|
|
|
; CHECK-LABEL: vrintn_f32:
|
|
; CHECK: vrintn.f32
|
|
define float @vrintn_f32(float* %A) nounwind {
|
|
%tmp1 = load float, float* %A
|
|
%tmp2 = call float @llvm.arm.neon.vrintn.f32(float %tmp1)
|
|
ret float %tmp2
|
|
}
|