lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2,
[oota-llvm.git] / test / ExecutionEngine / test-loadstore.ll
1
2 void %test(sbyte* %P, short* %P, int* %P) {
3         %V = load sbyte* %P
4         store sbyte %V, sbyte* %P
5
6         %V = load short* %P
7         store short %V, short* %P
8
9         %V = load int* %P
10         store int %V, int* %P
11         ret void
12 }
13
14 int %main() {
15         %A = alloca sbyte
16         %B = alloca short
17         %C = alloca int
18         call void %test(sbyte* %A, short* %B, int* %C)
19         ret int 0
20 }