1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/Regression/Transforms/InstCombine/IntPtrCast.ll
Chris Lattner f6d78f81c0 new testcase
llvm-svn: 15028
2004-07-20 05:20:39 +00:00

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
}