llvm-6502/test/MC/Hexagon/inst_select.ll
Krzysztof Parzyszek 4654bc762e Expand MUX instructions early on Hexagon
This time with all files included.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233696 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-31 13:35:12 +00:00

11 lines
254 B
LLVM

;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
;; RUN: | llvm-objdump -s - | FileCheck %s
define i32 @foo (i1 %a, i32 %b, i32 %c)
{
%1 = select i1 %a, i32 %b, i32 %c
ret i32 %1
}
; CHECK: 0000 00400085 00600174 00608274 00c09f52