llvm-project/llvm/test/Transforms/MergeFunc
JF Bastien 7289f73b8d Fix mergefunc infinite loop
Self-referential constants containing references to a merged function
no longer cause the MergeFunctions pass to infinite loop. Also adds a
reproduction IR which would otherwise fail, which was isolated from a similar
issue in Chromium.

Author: jrkoenig
Reviewers: nlewycky, jfb
Subscribers: llvm-commits, nlewycky, jfb

Differential Revision: http://reviews.llvm.org/D11208

llvm-svn: 242337
2015-07-15 21:51:33 +00:00
..
2011-02-08-RemoveEqual.ll Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
2013-01-10-MergeFuncAssert.ll
address-spaces.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
alloca.ll MergeFunctions: Two different sized allocas are *not* the same 2015-05-12 21:42:22 +00:00
call-and-invoke-with-ranges.ll Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
crash.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
fold-weak.ll MergeFunctions: Don't replace a weak function use by another equivalent weak function 2015-06-09 18:19:17 +00:00
functions.ll Added functions cross-reference test. 2014-06-09 19:03:02 +00:00
inttoptr-address-space.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
inttoptr.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
linkonce_odr.ll MergeFunctions: Impose a total order on the replacement of functions 2015-06-09 00:03:29 +00:00
merge-ptr-and-int.ll
mergefunc-struct-return.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
phi-speculation1.ll
phi-speculation2.ll
ptr-int-transitivity-1.ll
ptr-int-transitivity-2.ll
ptr-int-transitivity-3.ll
ranges.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
self-referential-global.ll Fix mergefunc infinite loop 2015-07-15 21:51:33 +00:00
too-small.ll
vector-GEP-crash.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
vector.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
vectors-and-arrays.ll