Mercurial > hg > CbC > CbC_llvm
annotate test/MC/Hexagon/inst_select.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | afa8332a0e37 |
children | 3a76565eade5 |
rev | line source |
---|---|
95 | 1 ; RUN: llc -march=hexagon -filetype=obj %s -o - \ |
2 ; RUN: | llvm-objdump -d - | FileCheck %s | |
83 | 3 |
4 define i32 @foo (i1 %a, i32 %b, i32 %c) | |
5 { | |
6 %1 = select i1 %a, i32 %b, i32 %c | |
7 ret i32 %1 | |
8 } | |
9 | |
121 | 10 ; CHECK: 00 40 40 85 85404000 |
95 | 11 ; CHECK: 00 40 9f 52 529f4000 |
12 ; CHECK: 00 60 01 74 74016000 | |
121 | 13 ; CHECK: 00 e0 82 74 7482e000 |