llvm/test/Transforms/MergeFunc
Nick Lewycky 3ba974a1c5 When removing a function from the function set and adding it to deferred, we
could end up removing a different function than we intended because it was
functionally equivalent, then end up with a comparison of a function against
itself in the next round of comparisons (the one in the function set and the
one on the deferred list). To fix this, I introduce a choice in the form of
comparison for ComparableFunctions, either normal or "pointer only" used to
find exact Function*'s in lookups.

Also add some debugging statements.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125180 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-09 06:32:02 +00:00
..
2011-02-08-RemoveEqual.ll When removing a function from the function set and adding it to deferred, we 2011-02-09 06:32:02 +00:00
dg.exp
fold-weak.ll Teach mergefunc how to emit aliases safely again -- but keep it turned it off 2011-01-25 08:56:50 +00:00
phi-speculation1.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
phi-speculation2.ll Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
vector.ll Fix surprising missed optimization in mergefunc where we forgot to consider 2011-01-27 08:38:19 +00:00
vectors-and-arrays.ll Arrays and vectors with different numbers of elements are not equivalent. 2010-07-16 06:31:12 +00:00