mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Manually convert this to new assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b538cfc5c
commit
d422db8547
@ -2,7 +2,7 @@
|
||||
; LevelRaise should eliminate all cast instructions from this testcase.
|
||||
;
|
||||
; XFAIL: *
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -raise | llvm-dis | notcast
|
||||
; RUN: llvm-as < %s | opt -raise | llvm-dis | notcast
|
||||
|
||||
%Hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int } *
|
||||
%hash = type { { uint, sbyte *, \2 } * *, int (uint) *, int }
|
||||
@ -13,10 +13,10 @@ implementation
|
||||
begin
|
||||
%reg112 = malloc sbyte, uint 24 ; <sbyte *> [#uses=5]
|
||||
%reg115 = malloc sbyte, uint 96 ; <sbyte *> [#uses=1]
|
||||
%cast237 = cast sbyte * %reg112 to sbyte * * ; <sbyte * *> [#uses=1]
|
||||
%cast237 = bitcast sbyte * %reg112 to sbyte * * ; <sbyte * *> [#uses=1]
|
||||
store sbyte * %reg115, sbyte * * %cast237
|
||||
|
||||
%cast246 = cast sbyte * %reg112 to %Hash ; <%Hash> [#uses=1]
|
||||
%cast246 = bitcast sbyte * %reg112 to %Hash ; <%Hash> [#uses=1]
|
||||
ret %Hash %cast246
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user