llvm-6502/test/Transforms/ScalarRepl
Cameron Zwarich 3ebb05d9a6 When scalar replacement returns a vector type, only accept it if the vector
type's bitwidth matches the (allocated) size of the alloca. This severely
pessimizes vector scalar replacement when the only vector type being used is
something like <3 x float> on x86 or ARM whose allocated size matches a
<4 x float>.

I hope to fix some of the flawed assumptions about allocated size throughout
scalar replacement and reenable this in most cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133338 91177308-0d34-0410-b5e6-96231b3b80d8
2011-06-18 06:17:51 +00:00
..
2003-05-29-ArrayFail.ll
2003-09-12-IncorrectPromote.ll
2003-10-29-ArrayProblem.ll
2006-11-07-InvalidArrayPromote.ll
2007-05-29-MemcpyPreserve.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2007-11-03-bigendian_apint.ll manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
2008-01-29-PromoteBug.ll
2008-02-28-SubElementExtractCrash.ll
2008-06-05-loadstore-agg.ll
2008-06-22-LargeArray.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2008-08-22-out-of-range-array-promote.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2008-09-22-vector-gep.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2009-02-02-ScalarPromoteOutOfRange.ll
2009-02-05-LoadFCA.ll
2009-03-04-MemCpyAlign.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2009-03-05-Aggre2Scalar-dbg.ll
2009-12-11-NeonTypes.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2010-01-18-SelfCopy.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
2011-05-06-CapturedAlloca.ll Fix PR9820: a read-only call differs from a load in that a load doesn't 2011-05-06 10:30:37 +00:00
2011-06-08-VectorExtractValue.ll When scalar replacement returns a vector type, only accept it if the vector 2011-06-18 06:17:51 +00:00
2011-06-17-VectorPartialMemset.ll When scalar replacement returns a vector type, only accept it if the vector 2011-06-18 06:17:51 +00:00
address-space.ll
AggregatePromote.ll
arraytest.ll
badarray.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
basictest.ll
bitfield-sroa.ll
copy-aggregate.ll
crash.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
debuginfo-preserved.ll Fix "make check" in Release by removing debug-only options from an 'opt' invocation. 2011-05-24 18:26:09 +00:00
debuginfo.ll Make LoadAndStorePromoter preserve debug info and create llvm.dbg.values when 2011-05-24 03:10:43 +00:00
dg.exp make a couple of changes to the standard pass pipeline: 2011-04-26 20:45:33 +00:00
DifferingTypes.ll
inline-vector.ll
load-store-aggregate.ll
memcpy-align.ll
memcpy-from-global.ll
memset-aggregate-byte-leader.ll
memset-aggregate.ll rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
nonzero-first-index.ll
not-a-vector.ll
only-memcpy-uses.ll
phi-select.ll
phinodepromote.ll
select_promote.ll
sroa_two.ll
sroa-fca.ll
union-fp-int.ll
union-packed.ll
union-pointer.ll
vector_memcpy.ll
vector_promote.ll Fix another case of <rdar://problem/9184212> that only occurs with code 2011-04-20 21:48:38 +00:00
volatile.ll