llvm.org GIT mirror llvm / release_90 test / CodeGen / AArch64 / fjcvtzs.ll
release_90

Tree @release_90 (Download .tar.gz)

fjcvtzs.ll @release_90raw · history · blame

; 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)