summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/arm64-fp.ll
blob: 1c88b3d9009a1acf047626e6cdf02dc77ff533a4 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s

define float @t1(i1 %a, float %b, float %c) nounwind {
; CHECK: t1
; CHECK: fcsel	s0, s0, s1, ne
  %sel = select i1 %a, float %b, float %c
  ret float %sel
}
OpenPOWER on IntegriCloud