mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0ac992393c
llvm-svn: 296647
14 lines
307 B
LLVM
14 lines
307 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 40 85 85404000
|
|
; CHECK: 00 40 9f 52 529f4000
|
|
; CHECK: 00 60 01 74 74016000
|
|
; CHECK: 00 e0 82 74 7482e000
|