mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-26 05:56:51 +00:00
750b351b76
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239161 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
306 B
LLVM
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 |