mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
6a314b58c7
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1855 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
271 B
LLVM
14 lines
271 B
LLVM
; RUN: analyze -exprs %s
|
|
|
|
implementation
|
|
|
|
void "foo"(int %reg126)
|
|
begin
|
|
%cast1007 = cast int %reg126 to uint ; <uint> [#uses=1]
|
|
|
|
%reg119 = sub uint %cast1007, %cast1007 ; <uint> [#uses=1]
|
|
%cast121 = cast uint %reg119 to sbyte * ; <sbyte *> [#uses=1]
|
|
|
|
ret void
|
|
end
|