1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/Hexagon/lower-i1.ll
Krzysztof Parzyszek 66abdd815e [Hexagon] Add more lit tests
llvm-svn: 327271
2018-03-12 14:01:28 +00:00

14 lines
253 B
LLVM

; RUN: llc -march=hexagon -debug < %s
; REQUIRES: asserts
target triple = "hexagon"
; Function Attrs: nounwind readnone
define i32 @f0(i1 zeroext %a0) #0 {
b0:
%v0 = select i1 %a0, i32 1, i32 2
ret i32 %v0
}
attributes #0 = { nounwind readnone }