projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[AArch64] Add pass to enable additional comparison optimizations by CSE.
[oota-llvm.git]
/
test
/
CodeGen
/
AArch64
/
arm64-vcvtxd_f32_f64.ll
1
; RUN: llc < %s -march=arm64 | 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