Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Chris Lattner 1f46cc2345 Make X86TargetLowering::LowerSINT_TO_FP return without creating a dead
stack slot and store if the  SINT_TO_FP is actually legal.  This allows
us to compile:

double a(double b) {return (unsigned)b;}

to:

_a:
	cvttsd2siq	%xmm0, %rax
	movl	%eax, %eax
	cvtsi2sdq	%rax, %xmm0
	ret

instead of:

_a:
	subq	$8, %rsp
	cvttsd2siq	%xmm0, %rax
	movl	%eax, %eax
	cvtsi2sdq	%rax, %xmm0
	addq	$8, %rsp
	ret

crazy.

llvm-svn: 47660
2008-02-27 05:57:41 +00:00
autoconf
bindings
docs test svn commit capability 2008-02-26 01:36:52 +00:00
examples
include Spiller now remove unused spill slots. 2008-02-27 03:04:06 +00:00
lib Make X86TargetLowering::LowerSINT_TO_FP return without creating a dead 2008-02-27 05:57:41 +00:00
projects
runtime
test Make X86TargetLowering::LowerSINT_TO_FP return without creating a dead 2008-02-27 05:57:41 +00:00
tools first commit of new LTO system. It is not hooked up in the llvm/tools/Makefile, so no one will build it be default yet 2008-02-26 20:26:43 +00:00
utils Rename PrintableName to Name. 2008-02-26 21:47:57 +00:00
website
win32
Xcode
build-for-llvm-top.sh
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in
Makefile.rules
ModuleInfo.txt
README.txt

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.