Mercurial > hg > Members > tobaru > cbc > CbC_llvm
annotate test/CodeGen/ARM/inlineasm.ll @ 100:7d135dc70f03
LLVM 3.9
author | Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Jan 2016 22:53:40 +0900 |
parents | 54457678186b |
children |
rev | line source |
---|---|
77 | 1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6 %s -o /dev/null |
0 | 2 |
3 define i32 @test1(i32 %tmp54) { | |
4 %tmp56 = tail call i32 asm "uxtb16 $0,$1", "=r,r"( i32 %tmp54 ) ; <i32> [#uses=1] | |
5 ret i32 %tmp56 | |
6 } | |
7 | |
8 define void @test2() { | |
9 tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 ) | |
10 ret void | |
11 } |