Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Chris Lattner ad63a0d6a4 Fix a FIXME: Select instructions on longs were miscompiled.
While we're at it, improve codegen of select instructions.  For this
testcase:

int %test(bool %C, int %A, int %B) {
  %D = select bool %C, int %A, int %B
  ret int %D
}

We used to generate this code:

_test:
        cmpwi cr0, r3, 0
        bne .LBB_test_2 ;
.LBB_test_1:    ;
        b .LBB_test_3   ;
.LBB_test_2:    ;
        or r5, r4, r4
.LBB_test_3:    ;
        or r3, r5, r5
        blr

Now we emit:

_test:
        cmpwi cr0, r3, 0
        bne .LBB_test_2 ;
.LBB_test_1:    ;
        or r4, r5, r5
.LBB_test_2:    ;
        or r3, r4, r4
        blr

-Chris

llvm-svn: 19214
2005-01-01 16:10:12 +00:00
autoconf For PR351: 2004-12-31 22:54:28 +00:00
docs Describe both objdir==srcdir and objdir!=srcdir methods of building LLVM 2004-12-31 19:48:59 +00:00
examples Use LLVMLIBS=JIT to get JIT libraries 2004-11-29 07:17:18 +00:00
include/llvm Add a useful accessor 2005-01-01 15:58:55 +00:00
lib Fix a FIXME: Select instructions on longs were miscompiled. 2005-01-01 16:10:12 +00:00
projects Update to autoconf 2.59 standards. 2005-01-01 09:26:55 +00:00
runtime For PR432: 2004-12-22 05:57:33 +00:00
test Add new test to make sure simplifycfg doesn't leave around trivially 2005-01-01 16:00:56 +00:00
tools Correct the conditional test for non-portable tools so that it will 2004-12-31 22:56:14 +00:00
utils * Don't include weak definitions as a definition 2004-12-30 23:13:12 +00:00
win32 Bring VS projects up to date with respect to recent changes 2004-12-27 16:49:34 +00:00
.cvsignore Ignore the autom4te.cache directoy. 2004-12-24 15:11:23 +00:00
configure For PR351: 2004-12-31 22:54:28 +00:00
CREDITS.TXT Add MMC 2004-11-18 21:04:21 +00:00
LICENSE.TXT Add bzip2 2004-11-27 19:20:23 +00:00
llvm.spec Updated for 1.3. 2004-08-16 15:17:40 +00:00
Makefile Remove the check target. Its now in Makefile.rules 2004-12-06 05:35:00 +00:00
Makefile.common No really, this is LLVM! 2004-10-30 00:57:52 +00:00
Makefile.config.in For PR351: 2004-12-31 22:54:28 +00:00
Makefile.rules Correct the name of the variable for the LLVM examples directory so that 2004-12-28 07:59:22 +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.