mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove llvm-upgrade and update test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
; block in this function, it would work fine, but that would be the part we
|
||||
; have to fix now, wouldn't it....
|
||||
;
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -adce
|
||||
; RUN: llvm-as < %s | opt -adce
|
||||
|
||||
void %foo(sbyte* %reg5481) {
|
||||
%cast611 = cast sbyte* %reg5481 to sbyte** ; <sbyte**> [#uses=1]
|
||||
%reg162 = load sbyte** %cast611 ; <sbyte*> [#uses=0]
|
||||
cast sbyte*%reg162 to int
|
||||
ret void
|
||||
define void @foo(i8* %reg5481) {
|
||||
%cast611 = bitcast i8* %reg5481 to i8** ; <i8**> [#uses=1]
|
||||
%reg162 = load i8** %cast611 ; <i8*> [#uses=1]
|
||||
ptrtoint i8* %reg162 to i32 ; <i32>:1 [#uses=0]
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user