mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 23:42:52 +01:00
f6d78f81c0
llvm-svn: 15028
9 lines
182 B
LLVM
9 lines
182 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast
|
|
target pointersize = 32
|
|
|
|
int *%test(int *%P) {
|
|
%V = cast int* %P to int
|
|
%P2 = cast int %V to int*
|
|
ret int* %P2
|
|
}
|