forked from OSchip/llvm-project
04c7c225a1
While debugging GVNHoist, I found it confusing that the entries in a VNtoInsns were not always value numbers. They _usually_ were except for StoreInst in which case they were a hash of two different value numbers. This leads to two observations: - It is more difficult to debug things when the semantic contents of VNtoInsns changes over time. - Using a single value number is not much cheaper, the value of VNtoInsns is a SmallVector. - It is not immediately clear what the algorithm would do if there were hash collisions in the StoreInst case. Using a DenseMap of std::pair sidesteps all of this. N.B. The changes in the test were due their sensitivity to the iteration order of VNtoInsns which has changed. llvm-svn: 275761 |
||
---|---|---|
.. | ||
PRE | ||
2007-07-25-DominatedLoop.ll | ||
2007-07-25-InfiniteLoop.ll | ||
2007-07-25-Loop.ll | ||
2007-07-25-NestedLoop.ll | ||
2007-07-25-SinglePredecessor.ll | ||
2007-07-26-InterlockingLoops.ll | ||
2007-07-26-NonRedundant.ll | ||
2007-07-26-PhiErasure.ll | ||
2007-07-30-PredIDom.ll | ||
2007-07-31-NoDomInherit.ll | ||
2007-07-31-RedundantPhi.ll | ||
2008-02-12-UndefLoad.ll | ||
2008-02-13-NewPHI.ll | ||
2008-07-02-Unreachable.ll | ||
2008-12-09-SelfRemove.ll | ||
2008-12-12-RLE-Crash.ll | ||
2008-12-14-rle-reanalyze.ll | ||
2008-12-15-CacheVisited.ll | ||
2009-01-21-SortInvalidation.ll | ||
2009-01-22-SortInvalidation.ll | ||
2009-03-10-PREOnVoid.ll | ||
2009-07-13-MemDepSortFail.ll | ||
2009-11-12-MemDepMallocBitCast.ll | ||
2010-03-31-RedundantPHIs.ll | ||
2010-05-08-OneBit.ll | ||
2010-11-13-Simplify.ll | ||
2011-04-27-phioperands.ll | ||
2011-07-07-MatchIntrinsicExtract.ll | ||
2011-09-07-TypeIdFor.ll | ||
2012-05-22-PreCrash.ll | ||
MemdepMiscompile.ll | ||
assume-equal.ll | ||
basic-undef-test.ll | ||
basic.ll | ||
big-endian.ll | ||
bitcast-of-call.ll | ||
br-identical.ll | ||
calloc-load-removal.ll | ||
calls-nonlocal.ll | ||
calls-readonly.ll | ||
commute.ll | ||
cond_br.ll | ||
cond_br2.ll | ||
condprop.ll | ||
crash-no-aa.ll | ||
crash.ll | ||
edge.ll | ||
fence.ll | ||
flags.ll | ||
fold-const-expr.ll | ||
fpmath.ll | ||
funclet.ll | ||
hoist-pr20242.ll | ||
hoist-pr22005.ll | ||
hoist.ll | ||
invariant.group.ll | ||
lifetime-simple.ll | ||
load-constant-mem.ll | ||
load-from-unreachable-predecessor.ll | ||
malloc-load-removal.ll | ||
no_speculative_loads_with_asan.ll | ||
noalias.ll | ||
non-local-offset.ll | ||
nonescaping-malloc.ll | ||
null-aliases-nothing.ll | ||
phi-translate-partial-alias.ll | ||
pr10820.ll | ||
pr12979.ll | ||
pr14166.ll | ||
pr17732.ll | ||
pr17852.ll | ||
pr24397.ll | ||
pr24426.ll | ||
pr25440.ll | ||
pr28562.ll | ||
pre-compare.ll | ||
pre-new-inst.ll | ||
range.ll | ||
readattrs.ll | ||
rle-must-alias.ll | ||
rle-no-phi-translate.ll | ||
rle-nonlocal.ll | ||
tbaa.ll | ||
unreachable_block_infinite_loop.ll | ||
volatile-nonvolatile.ll |