mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
Cleanup test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb4a15ca57
commit
639b052e7b
@ -6,16 +6,13 @@
|
||||
; environment to the main() function.
|
||||
;
|
||||
|
||||
target endian = little
|
||||
target pointersize = 32
|
||||
|
||||
implementation
|
||||
|
||||
declare uint %strlen(sbyte*)
|
||||
|
||||
int %main(int %argc.1, sbyte** %argv.1, sbyte** %envp.1) {
|
||||
%tmp.2 = load sbyte** %envp.1 ; <sbyte*> [#uses=2]
|
||||
%tmp.3 = call uint %strlen( sbyte* %tmp.2 ) ; <uint> [#uses=1]
|
||||
%tmp.2 = load sbyte** %envp.1
|
||||
%tmp.3 = call uint %strlen( sbyte* %tmp.2 )
|
||||
%T = seteq uint %tmp.3, 0
|
||||
%R = cast bool %T to int
|
||||
ret int %R
|
||||
|
Loading…
Reference in New Issue
Block a user