llvm-6502/test/Transforms/BBVectorize/X86
Hal Finkel f79f136cc6 BBVectorize: Fix an invalid reference bug
This fixes PR15289. This bug was introduced (recently) in r175215; collecting
all std::vector references for candidate pairs to delete at once is invalid
because subsequent lookups in the owning DenseMap could invalidate the
references.

bugpoint was able to reduce a useful test case. Unfortunately, because whether
or not this asserts depends on memory layout, this test case will sometimes
appear to produce valid output. Nevertheless, running under valgrind will
reveal the error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175397 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-17 15:59:26 +00:00
..
cmp-types.ll BBVectorize: Check the types of compare instructions 2012-11-12 19:41:38 +00:00
loop1.ll BBVectorize: Commit the rest of the test-case change. 2012-11-01 21:57:27 +00:00
pr15289.ll BBVectorize: Fix an invalid reference bug 2013-02-17 15:59:26 +00:00
sh-rec2.ll BBVectorize: Only some insert element operand pairs are free. 2012-11-12 23:55:36 +00:00
sh-rec3.ll BBVectorize: Don't vectorize vector-manipulation chains 2012-11-13 03:12:40 +00:00
sh-rec.ll BBVectorize: Use a more sophisticated check for input cost 2012-11-12 21:21:02 +00:00
sh-types.ll BBVectorize: Check the input types of shuffles for legality 2012-11-12 14:50:59 +00:00
simple-int.ll BBVectorize: Use VTTI to compute costs for intrinsics vectorization 2012-12-26 01:36:57 +00:00
simple-ldstr.ll BBVectorize: Use target costs for incoming and outgoing values instead of the depth heuristic. 2012-11-01 21:50:12 +00:00
simple.ll BBVectorize: Use target costs for incoming and outgoing values instead of the depth heuristic. 2012-11-01 21:50:12 +00:00
vs-cast.ll