aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Hexagon/inst_select.ll
blob: 29a2db0723bd2e7116e12729e56768f61a7701ed (plain)
1
2
3
4
5
6
7
8
9
10
;; 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