brintos

brintos / llvm-project-archived public Read only

0
0
Text · 361 B · 1f5b823 Raw
13 lines · plain
1; RUN: llc -mtriple=hexagon -filetype=obj %s -o - \2; RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck %s3 4define i32 @foo (i1 %a, i32 %b, i32 %c)5{6  %1 = select i1 %a, i32 %b, i32 %c7  ret i32 %18}9 10; CHECK: 00 c0 00 85 8500c000 {  p0 = tstbit(r0,#0) } 11; CHECK: 00 42 01 f4 f4014200 {  r0 = mux(p0,r1,r2)12; CHECK: 00 c0 9f 52 529fc000    jumpr r31 } 13