llvm-project/llvm/test/Transforms/ScalarRepl
Duncan P. N. Exon Smith 176b691d32 Revert "Revert "DI: Fold constant arguments into a single MDString""
This reverts commit r218918, effectively reapplying r218914 after fixing
an Ocaml bindings test and an Asan crash.  The root cause of the latter
was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a
PR to investigate who requires the loose check (and why).

Original commit message follows.

--

This patch addresses the first stage of PR17891 by folding constant
arguments together into a single MDString.  Integers are stringified and
a `\0` character is used as a separator.

Part of PR17891.

Note: I've attached my testcases upgrade scripts to the PR.  If I've
just broken your out-of-tree testcases, they might help.

llvm-svn: 219010
2014-10-03 20:01:09 +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
2007-11-03-bigendian_apint.ll
2008-01-29-PromoteBug.ll
2008-02-28-SubElementExtractCrash.ll
2008-06-05-loadstore-agg.ll
2008-06-22-LargeArray.ll
2008-08-22-out-of-range-array-promote.ll
2008-09-22-vector-gep.ll
2009-02-02-ScalarPromoteOutOfRange.ll
2009-02-05-LoadFCA.ll
2009-03-04-MemCpyAlign.ll
2009-12-11-NeonTypes.ll
2010-01-18-SelfCopy.ll
2011-05-06-CapturedAlloca.ll
2011-06-08-VectorExtractValue.ll
2011-06-17-VectorPartialMemset.ll
2011-09-22-PHISpeculateInvoke.ll
2011-10-11-VectorMemset.ll
2011-10-22-VectorCrash.ll
2011-11-11-EmptyStruct.ll
AggregatePromote.ll
DifferingTypes.ll
address-space.ll
arraytest.ll
badarray.ll
basictest.ll
bitfield-sroa.ll
copy-aggregate.ll
crash.ll
debuginfo-preserved.ll Revert "Revert "DI: Fold constant arguments into a single MDString"" 2014-10-03 20:01:09 +00:00
inline-vector.ll
lifetime.ll
load-store-aggregate.ll
memcpy-align.ll
memset-aggregate-byte-leader.ll
memset-aggregate.ll
negative-memset.ll
nonzero-first-index.ll
not-a-vector.ll
only-memcpy-uses.ll
phi-cycle.ll
phi-select.ll
phinodepromote.ll
select_promote.ll
sroa-fca.ll
sroa_two.ll
union-fp-int.ll
union-packed.ll
union-pointer.ll
vector_memcpy.ll
vector_promote.ll
vectors-with-mismatched-elements.ll
volatile.ll