llvm/test/Transforms/GVN
Chris Lattner 20d6f0982a Teach BasicAA::getModRefInfo(CallSite, CallSite) some
tricks based on readnone/readonly functions.

Teach memdep to look past readonly calls when analyzing
deps for a readonly call.  This allows elimination of a
few more calls from 403.gcc:

before:
     63 gvn    - Number of instructions PRE'd
 153986 gvn    - Number of instructions deleted
  50069 gvn    - Number of loads deleted

after:
     63 gvn    - Number of instructions PRE'd
 153991 gvn    - Number of instructions deleted
  50069 gvn    - Number of loads deleted

5 calls isn't much, but this adds plumbing for the next change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60794 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-09 21:19:42 +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 Fix a couple more bugs in the phi construction by pulling in code that does 2007-07-26 18:26:51 +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 Fix a couple more bugs in the phi construction by pulling in code that does 2007-07-26 18:26:51 +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 Fix a misoptimization in aha. 2007-07-31 17:43:14 +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
basic.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
call.ll Add testcase for PR2213. 2008-04-11 05:13:32 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
dominated.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
local-pre.ll Use the -enable-pre flag so this test doesn't fail. 2008-06-26 17:03:28 +00:00
mixed.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
nonlocal-cse.ll Add a testcase for non-local CSE of read-only calls. 2008-05-13 08:17:44 +00:00
nonlocal.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
pre-load.ll Fix test/Transforms/GVN/pre-load.ll 2008-12-05 17:04:12 +00:00
pre.ll Add a test for my previous PRE fix. 2008-12-02 04:25:42 +00:00
readonly-calls.ll Teach BasicAA::getModRefInfo(CallSite, CallSite) some 2008-12-09 21:19:42 +00:00
rle-must-alias.ll testcase for my previous commit. 2008-12-01 01:42:03 +00:00
semidominated.ll Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00