llvm-for-llvmta/test/CodeGen/AArch64/fjcvtzs.ll

11 lines
266 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llc -mtriple=arm64-eabi -mattr=+jsconv -o - %s | FileCheck %s
define i32 @test_jcvt(double %v) {
; CHECK-LABEL: test_jcvt:
; CHECK: fjcvtzs w0, d0
%val = call i32 @llvm.aarch64.fjcvtzs(double %v)
ret i32 %val
}
declare i32 @llvm.aarch64.fjcvtzs(double)