repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert 374373: [Codegen] Alter the default promotion for saturating adds and subs
[llvm-core.git]
/
test
/
CodeGen
/
AArch64
/
arm64-vcvtxd_f32_f64.ll
blob
845b8cb9a1fe8765e70006548584da79cb0f5f96
1
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
2
3
define float @fcvtxn(double %a) {
4
; CHECK-LABEL: fcvtxn:
5
; CHECK: fcvtxn s0, d0
6
; CHECK-NEXT: ret
7
%vcvtxd.i = tail call float @llvm.aarch64.sisd.fcvtxn(double %a) nounwind
8
ret float %vcvtxd.i
9
}
10
11
declare float @llvm.aarch64.sisd.fcvtxn(double) nounwind readnone