mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15028 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ce300013d
commit
c0de837ad2
8
test/Transforms/InstCombine/IntPtrCast.ll
Normal file
8
test/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…
x
Reference in New Issue
Block a user