Clean up pointer using testcases

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3662 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-09-10 20:04:19 +00:00
parent 9a66d5109e
commit 2b37c03f8c
3 changed files with 7 additions and 50 deletions

View File

@@ -5,6 +5,8 @@
implementation
sbyte* %test(int* %ptr) {
%A = cast int* %ptr to sbyte *
%B = add sbyte* %A, %A
%A = cast sbyte* %A to ulong
%B = add ulong %A, %A
%B = cast ulong %B to sbyte*
ret sbyte * %B
}