2015-06-06 00:00:11 +08:00
|
|
|
; RUN: llc -march=hexagon -filetype=obj %s -o - \
|
|
|
|
; RUN: | llvm-objdump -d - | FileCheck %s
|
2014-11-26 04:20:09 +08:00
|
|
|
|
|
|
|
define i32 @foo (i1 %a, i32 %b, i32 %c)
|
|
|
|
{
|
|
|
|
%1 = select i1 %a, i32 %b, i32 %c
|
|
|
|
ret i32 %1
|
|
|
|
}
|
|
|
|
|
2017-03-02 01:53:42 +08:00
|
|
|
; CHECK: 00 40 40 85 85404000
|
2015-06-06 00:00:11 +08:00
|
|
|
; CHECK: 00 40 9f 52 529f4000
|
|
|
|
; CHECK: 00 60 01 74 74016000
|
2017-03-02 01:53:42 +08:00
|
|
|
; CHECK: 00 e0 82 74 7482e000
|