llvm/lib
Chandler Carruth bc4021f31e Address one of the original FIXMEs for the new SROA pass by implementing
integer promotion analogous to vector promotion. When there is an
integer alloca being accessed both as its integer type and as a narrower
integer type, promote the narrower access to "insert" and "extract" the
smaller integer from the larger one, and make the integer alloca
a candidate for promotion.

In the new formulation, we don't care about target legal integer or use
thresholds to control things. Instead, we only perform this promotion to
an integer type which the frontend has already emitted a load or store
for. This bounds the scope and prevents optimization passes from
coalescing larger and larger entities into a single integer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164479 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-24 00:34:20 +00:00
..
Analysis
Archive
AsmParser
Bitcode
CodeGen
DebugInfo
ExecutionEngine
Linker
MC
Object
Support
TableGen
Target
Transforms Address one of the original FIXMEs for the new SROA pass by implementing 2012-09-24 00:34:20 +00:00
VMCore
CMakeLists.txt
LLVMBuild.txt
Makefile