llvm/test/MC/Hexagon/inst_select.ll
2015-06-05 16:00:11 +00:00

13 lines
306 B
LLVM

; RUN: llc -march=hexagon -filetype=obj %s -o - \
; RUN: | llvm-objdump -d - | FileCheck %s
define i32 @foo (i1 %a, i32 %b, i32 %c)
{
%1 = select i1 %a, i32 %b, i32 %c
ret i32 %1
}
; CHECK: 00 40 00 85 85004000
; CHECK: 00 40 9f 52 529f4000
; CHECK: 00 60 01 74 74016000
; CHECK: 00 e0 82 74 7482e000