forked from OSchip/llvm-project
parent
28a8d2468a
commit
f8013f3ca7
|
@ -0,0 +1,9 @@
|
|||
; RUN: as < %s | opt -raise
|
||||
|
||||
int* %test(int* %P, int* %Q) {
|
||||
%P = cast int* %P to ulong
|
||||
%Q = cast int* %Q to ulong
|
||||
%V = add ulong %P, %Q
|
||||
%V = cast ulong %V to int*
|
||||
ret int* %V
|
||||
}
|
Loading…
Reference in New Issue