Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Chris Lattner 25b5777485 Instruction select globals with offsets better. For example, on this test
case:

int C[100];
int foo() {
  return C[4];
}

We now codegen:

foo:
        mov %EAX, DWORD PTR [C + 16]
        ret

instead of:

foo:
        mov %EAX, OFFSET C
        mov %EAX, DWORD PTR [%EAX + 16]
        ret

Other impressive features may be coming later.

This patch is contributed by Jeff Cohen!

llvm-svn: 17011
2004-10-15 05:05:29 +00:00
autoconf Transfer Makefile.JIT into the build tree for JIT-enabling tools and examples 2004-10-14 18:59:09 +00:00
docs Fix grammaro 2004-10-09 19:37:02 +00:00
examples Use the shared Makefile.JIT for JIT-enablement, which also enables the examples 2004-10-14 19:02:13 +00:00
include/llvm Allow machine operands to represent global variables with offsets. This is 2004-10-15 04:38:41 +00:00
lib Instruction select globals with offsets better. For example, on this test 2004-10-15 05:05:29 +00:00
projects Remove exhuberant-style comments which remained from copying file from `sample' 2004-10-11 00:56:41 +00:00
runtime Don't call memset if malloc returns a null pointer 2004-10-06 23:08:03 +00:00
test When converting phi nodes into select instructions, we shouldn't promote PHI 2004-10-14 05:12:50 +00:00
tools * We don't use the ENABLE_*_JIT flags in the source base anymore 2004-10-14 20:06:36 +00:00
utils * Factor out (into new fn) a loop emitting operand shifts into the instruction 2004-10-14 05:53:01 +00:00
.cvsignore Ok, try #2, this time I'll not be stupid 2003-08-03 18:33:24 +00:00
configure Add Makefile.JIT to the list of Makefiles transferred to the build dir to give 2004-10-14 18:59:42 +00:00
configure_am Changes for automake. 2004-10-13 11:56:07 +00:00
CREDITS.TXT Update email address 2004-09-23 04:39:30 +00:00
LICENSE.TXT Adjust the license files based on the actual content of llvm and llvm-test 2004-09-16 16:41:31 +00:00
llvm.spec Updated for 1.3. 2004-08-16 15:17:40 +00:00
Makefile Changed the distclean target to handle the new location of config.h. 2004-09-17 15:08:25 +00:00
Makefile_config Changes for automake. 2004-10-13 11:56:07 +00:00
Makefile_rules Get rid of the horrendous FIND_PATH macro, have libs and progs linked into 2004-10-13 11:39:51 +00:00
Makefile.am Top level makefile for building LLVM with automake. 2004-10-10 19:13:03 +00:00
Makefile.common Standardize header comments of top-level Makefiles. 2004-04-24 00:10:56 +00:00
Makefile.config.in Fix typo in makefile variable name that prevents zlib from being recognized 2004-10-04 17:49:19 +00:00
Makefile.rules Fix grammar 2004-10-11 02:06:40 +00:00
README.txt Make the text of this file a little more useful. 2004-09-02 22:49:27 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.