1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/Regression/Jello/test-loadstore.ll

21 lines
328 B
LLVM
Raw Normal View History

void %test(sbyte* %P, short* %P, int* %P) {
%V = load sbyte* %P
store sbyte %V, sbyte* %P
%V = load short* %P
store short %V, short* %P
%V = load int* %P
store int %V, int* %P
ret void
}
int %main() {
%A = alloca sbyte
%B = alloca short
%C = alloca int
call void %test(sbyte* %A, short* %B, int* %C)
ret int 0
}