summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM64/fp.ll
blob: 08b1b6754c2aca9dc5f5894d7db7af4a74e9c992 (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -march=arm64 | 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
}