mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
9 lines
203 B
LLVM
9 lines
203 B
LLVM
|
; 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
|
||
|
}
|