llvm-project/llvm/test/Transforms/GVN
Chris Lattner 2f0c1c44d5 Move the re-sort of invalidated NonLocalPointerDeps cache earlier
so that all code paths get it.  PR4256 was about a case where the
phi translation loop would find all preds in the Visited cache, so
it could get by without re-sorting the NonLocalPointerDeps cache.
Fix this by resorting it earlier, there is no reason not to do this.

This patch inspired by Jakub Staszak's patch.

llvm-svn: 75476
2009-07-13 17:14:23 +00:00
..
2007-07-25-DominatedLoop.ll Fix what is _hopefully_ the last corner case for loops. 2007-07-25 23:54:42 +00:00
2007-07-25-InfiniteLoop.ll Fix a bug introduced in my last commit. 2007-07-26 18:57:04 +00:00
2007-07-25-Loop.ll Fix a bug in non-local memdep that was causing an infinite loop on 175.vpr. 2007-07-25 21:26:36 +00:00
2007-07-25-NestedLoop.ll My last commit was not correct for nested loops. Fix it, and add a testcase for it. 2007-07-25 22:19:40 +00:00
2007-07-25-SinglePredecessor.ll Fix a bug that was causing GVN to crash on 252.eon. 2007-07-25 21:13:41 +00:00
2007-07-26-InterlockingLoops.ll Adjust testcase to make it more stable across visitation order changes, 2008-12-15 04:42:00 +00:00
2007-07-26-NonRedundant.ll Fix a bug introduced in my last commit. 2007-07-26 18:57:04 +00:00
2007-07-26-PhiErasure.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
2007-07-30-PredIDom.ll Fix a bug caused by indiscriminantly asking for the dominators of a predecessor. 2007-07-30 16:57:08 +00:00
2007-07-31-NoDomInherit.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
2007-07-31-RedundantPhi.ll Fix a failure I accidentally caused in my last commit by mishandling the 2007-07-31 20:18:28 +00:00
2008-02-12-UndefLoad.ll Use normal naming convention for test. 2008-03-22 21:08:33 +00:00
2008-02-13-NewPHI.ll Testcase for PR2032. 2008-02-14 07:15:11 +00:00
2008-02-24-NonDominatedMemcpy.ll Fix an issue where GVN would try to use an instruction before its definition when performing return slot optimization. 2008-02-25 00:40:41 +00:00
2008-02-26-MemCpySize.ll Add PR number to testcase. 2008-02-26 23:16:11 +00:00
2008-07-02-Unreachable.ll don't require GVN to work on dead values, just make the 2008-11-29 21:21:48 +00:00
2008-12-09-SelfRemove.ll loosen up an assertion that isn't valid when called from 2008-12-09 22:45:32 +00:00
2008-12-12-RLE-Crash.ll gvn should never crash on this. 2008-12-13 18:39:44 +00:00
2008-12-14-rle-reanalyze.ll another random testcase that shouldn't crash gvn and is 2008-12-14 21:20:46 +00:00
2008-12-15-CacheVisited.ll fix PR3217: fully cached queries need to be verified against the 2008-12-16 07:10:09 +00:00
2009-01-21-SortInvalidation.ll Fix PR3358, a really nasty bug where recursive phi translated 2009-01-22 07:04:01 +00:00
2009-01-22-SortInvalidation.ll fix two more cases where we could let the NLPDI cache get unsorted. 2009-01-23 07:12:16 +00:00
2009-02-17-LoadPRECrash.ll Add a test for r61358, which I forgot to add way back when. 2009-02-18 07:50:22 +00:00
2009-03-05-dbg.ll Skip DbgInfoIntrinsic. 2009-03-06 02:59:27 +00:00
2009-03-10-PREOnVoid.ll Do not attempt to do parial redundancy elimination on void values. 2009-03-10 15:04:53 +00:00
2009-06-17-InvalidPRE.ll This fixes a bug introduced in 72661, which can 2009-06-17 20:48:23 +00:00
2009-07-13-MemDepSortFail.ll Move the re-sort of invalidated NonLocalPointerDeps cache earlier 2009-07-13 17:14:23 +00:00
basic.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
bitcast-of-call.ll rename some tests to be more uniform in naming convention. 2008-12-13 18:47:40 +00:00
calls-nonlocal.ll rename some tests to be more uniform in naming convention. 2008-12-13 18:47:40 +00:00
calls-readonly.ll rename some tests to be more uniform in naming convention. 2008-12-13 18:47:40 +00:00
condprop.ll Reapply r68211, with the miscompilations it caused fixed. 2009-04-01 23:53:49 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
load-constant-mem.ll make memdep use the getModRefInfo method for stores instead of the 2009-05-25 21:28:56 +00:00
local-pre.ll Use the -enable-pre flag so this test doesn't fail. 2008-06-26 17:03:28 +00:00
lpre-basic.ll rename some tests to be more uniform in naming convention. 2008-12-13 18:47:40 +00:00
lpre-call-wrap-2.ll Add a testcase for GCC PR 23455, which lpre handles now. Add some 2008-12-15 07:49:24 +00:00
lpre-call-wrap.ll Add a testcase for GCC PR 23455, which lpre handles now. Add some 2008-12-15 07:49:24 +00:00
mixed.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
pre-basic-add.ll rename some tests to be more uniform in naming convention. 2008-12-13 18:47:40 +00:00
pre-single-pred.ll This fixes a bug introduced in 72661, which can 2009-06-17 20:48:23 +00:00
rle-dominated.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
rle-must-alias.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
rle-no-phi-translate.ll Implement initial support for PHI translation in memdep. This means that 2008-12-15 03:35:32 +00:00
rle-nonlocal.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
rle-phi-translate.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00
rle-semidominated.ll make GVN try to rename inputs to the resultant replaced values, which 2008-12-15 03:46:38 +00:00