LLVM backend for 6502
Go to file
Brian Gaeke ed6902ca89 lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2,
because arguments start two stack slots off of EBP. Break out of the
 for loop once the argument is found. Increment the counter at the end
 of the loop instead of the beginning. Use addRegOffset and compute
 the scale * index part at compile time instead of using the fancy
 load instruction. Just because an instruction set has wacky addressing
 modes doesn't mean we ought to use them (at least, if you believe Dave
 Patterson).

lib/Target/X86/X86InstrBuilder.h: Add some comments.

test/Regression/Jello/test-loadstore.ll:  Let main return int 0.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4999 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-13 09:28:50 +00:00
docs getelementptr uses long instead of uint indexes 2002-12-13 06:01:21 +00:00
include Get rid of deprecated function 2002-12-13 07:30:45 +00:00
lib lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2, 2002-12-13 09:28:50 +00:00
runtime fix path 2002-11-08 21:29:22 +00:00
support Fix bug 2002-12-06 04:42:16 +00:00
test lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2, 2002-12-13 09:28:50 +00:00
tools brg 2002-12-13 06:46:31 +00:00
utils Include tablegen 2002-12-12 03:44:42 +00:00
Makefile Make sure to build lib/Support before the utilities, then use the new 2002-12-02 01:23:26 +00:00
Makefile.common On `make clean', kill the core files produced, which are of the form: 2002-12-04 17:08:15 +00:00
Makefile.config 'whoami' doesn't exist on solaris 2002-09-22 23:35:11 +00:00
Makefile.Linux Export a new ARCH variable indicating what platform is being compiled 2002-12-06 03:45:20 +00:00
Makefile.rules On `make clean', kill the core files produced, which are of the form: 2002-12-04 17:08:15 +00:00
Makefile.SunOS Export a new ARCH variable indicating what platform is being compiled 2002-12-06 03:45:20 +00:00