llvm-6502/lib
Chris Lattner 145c532e68 Enhance SRoA to be more aggressive about scalarization of aggregate allocas
that have PHI or select uses of their element pointers.  This can often happen
when instcombine sinks two loads into a successor, inserting a phi or select.

With this patch, we can scalarize the alloca, but the pinned elements are not
yet promoted.  This is still a win for large aggregates where only one element
is used.  This fixes rdar://8904039 and part of rdar://7339113 (poor codegen
on stringswitch).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124070 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-23 08:27:54 +00:00
..
Analysis Use value ranges to fold ext(trunc) in SCEV when possible. 2011-01-23 06:20:19 +00:00
Archive Archive: Fix temp path names. 2011-01-17 16:43:30 +00:00
AsmParser Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
Bitcode FixedNumOperandTraits and VariadicOperandTraits assumed that, given a 2011-01-11 15:07:38 +00:00
CodeGen Delay the creation of eh_frame so that the user can change the defaults. 2011-01-23 05:43:40 +00:00
CompilerDriver Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists. 2011-01-10 02:34:23 +00:00
ExecutionEngine Handles libffi on the CMake build. 2011-01-21 15:42:54 +00:00
Linker Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
MC Delay the creation of eh_frame so that the user can change the defaults. 2011-01-23 05:43:40 +00:00
Object Object: Fix type punned pointer issues by making DataRefImpl a union and using intptr_t. 2011-01-21 02:27:02 +00:00
Support Clang was not parsing target triples involving EABI and was generating wrong IR (wrong PCS) and passing the wrong information down llc via the target-triple printed in IR. I've fixed this by adding the parsing of EABI into LLVM's Triple class and using it to choose the correct PCS in Clang's Tools. A Clang patch is on its way to use this infrastructure. 2011-01-21 18:25:47 +00:00
Target Delay the creation of eh_frame so that the user can change the defaults. 2011-01-23 05:43:40 +00:00
Transforms Enhance SRoA to be more aggressive about scalarization of aggregate allocas 2011-01-23 08:27:54 +00:00
VMCore Add a constant folding of casts from zero to zero. Fixes PR9011! 2011-01-21 01:12:09 +00:00
Makefile