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

Tree @master (Download .tar.gz)

fjcvtzs.ll @masterraw · 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)