Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/PowerPC/2007-05-03-InlineAsm-S-Constraint.ll @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | 54457678186b |
children | 1172e4bd9c6f |
comparison
equal
deleted
inserted
replaced
84:f3e34b893a5f | 95:afa8332a0e37 |
---|---|
5 target triple = "powerpc-apple-darwin8.8.0" | 5 target triple = "powerpc-apple-darwin8.8.0" |
6 @x = global [2 x i32] [ i32 1, i32 2 ] ; <[2 x i32]*> [#uses=1] | 6 @x = global [2 x i32] [ i32 1, i32 2 ] ; <[2 x i32]*> [#uses=1] |
7 | 7 |
8 define void @foo() { | 8 define void @foo() { |
9 entry: | 9 entry: |
10 tail call void asm sideeffect "$0 $1", "s,i"( i8* bitcast (i32* getelementptr ([2 x i32]* @x, i32 0, i32 1) to i8*), i8* bitcast (i32* getelementptr ([2 x i32]* @x, i32 0, i32 1) to i8*) ) | 10 tail call void asm sideeffect "$0 $1", "s,i"( i8* bitcast (i32* getelementptr ([2 x i32], [2 x i32]* @x, i32 0, i32 1) to i8*), i8* bitcast (i32* getelementptr ([2 x i32], [2 x i32]* @x, i32 0, i32 1) to i8*) ) |
11 ret void | 11 ret void |
12 } | 12 } |