Old fork of llvm-mirror, used on older RPCS3 builds
Go to file
Dan Gohman 97121ba2af Implement support for using modeling implicit-zero-extension on x86-64
with SUBREG_TO_REG, teach SimpleRegisterCoalescing to coalesce
SUBREG_TO_REG instructions (which are similar to INSERT_SUBREG
instructions), and teach the DAGCombiner to take advantage of this on
targets which support it. This eliminates many redundant
zero-extension operations on x86-64.

This adds a new TargetLowering hook, isZExtFree. It's similar to
isTruncateFree, except it only applies to actual definitions, and not
no-op truncates which may not zero the high bits.

Also, this adds a new optimization to SimplifyDemandedBits: transform
operations like x+y into (zext (add (trunc x), (trunc y))) on targets
where all the casts are no-ops. In contexts where the high part of the
add is explicitly masked off, this allows the mask operation to be
eliminated. Fix the DAGCombiner to avoid undoing these transformations
to eliminate casts on targets where the casts are no-ops.

Also, this adds a new two-address lowering heuristic. Since
two-address lowering runs before coalescing, it helps to be able to
look through copies when deciding whether commuting and/or
three-address conversion are profitable.

Also, fix a bug in LiveInterval::MergeInClobberRanges. It didn't handle
the case that a clobber range extended both before and beyond an
existing live range. In that case, multiple live ranges need to be
added. This was exposed by the new subreg coalescing code.

Remove 2008-05-06-SpillerBug.ll. It was bugpoint-reduced, and the
spiller behavior it was looking for no longer occurrs with the new
instruction selection.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68576 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-08 00:15:30 +00:00
autoconf Detect that we're building from a git checkout like we do for cvs and svn. 2009-04-01 04:39:25 +00:00
bindings Fix a parallel make race condition by swapping the order of -I directories. 2009-03-06 00:00:58 +00:00
cmake CMake: Added notes pointing to the LLVM CMake documentation. 2009-04-04 22:52:02 +00:00
docs Use 'name' instead of 'href'. 2009-04-07 18:54:06 +00:00
examples Another attempt at fixing PR2975. 2009-04-07 17:23:02 +00:00
include Implement support for using modeling implicit-zero-extension on x86-64 2009-04-08 00:15:30 +00:00
lib Implement support for using modeling implicit-zero-extension on x86-64 2009-04-08 00:15:30 +00:00
projects Revert r67655 and r67656, as they are breaking the build. I'm 2009-03-25 00:52:11 +00:00
runtime Drop toy GC runtime. 2009-03-02 03:46:48 +00:00
test Implement support for using modeling implicit-zero-extension on x86-64 2009-04-08 00:15:30 +00:00
tools Add an API for the bitstream reader to read blobs and return 2009-04-07 02:56:46 +00:00
unittests Add support for embedded metadata to LLVM. This introduces two new types of 2009-04-04 07:22:01 +00:00
utils "This adds a getName() method to TargetRegisterClass, just like in TargetRegisterInfo. 2009-04-03 20:25:41 +00:00
website
win32 Update hand-crafted VC++ build. 2009-02-02 19:22:02 +00:00
Xcode
build-for-llvm-top.sh Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
CMakeLists.txt CMake: Added notes pointing to the LLVM CMake documentation. 2009-04-04 22:52:02 +00:00
configure Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
CREDITS.TXT Test commit access to LLVM with some minor narcissism. 2009-04-03 21:41:52 +00:00
LICENSE.TXT Another great year for LLVM! 2009-02-26 15:17:13 +00:00
llvm.spec.in
Makefile Remove ccc now. Radar 6737767 2009-04-07 20:29:25 +00:00
Makefile.common Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Makefile.config.in Autodetect the availability of -export-dynamic in the linker. 2009-03-05 08:20:21 +00:00
Makefile.rules Avoid -O3 on Darwin for now. 2009-04-06 19:58:11 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
README.txt README.txt: test commit w/blank line appended 2009-03-23 21:00:45 +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.