mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 15:48:38 +00:00
new testcase
llvm-svn: 15028
This commit is contained in:
parent
da83200d72
commit
f6d78f81c0
8
test/Regression/Transforms/InstCombine/IntPtrCast.ll
Normal file
8
test/Regression/Transforms/InstCombine/IntPtrCast.ll
Normal file
@ -0,0 +1,8 @@
|
||||
; 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user