llvm-6502/test/Analysis/BasicAA
Dan Gohman 72776d2190 Teach BasicAliasAnalysis to understand constant gep indices that fall
beyond their associated static array type.

I believe that this fixes a legitimate bug, because BasicAliasAnalysis
already has code to check for this condition that works for non-constant
indices, however it was missing the case of constant indices. With this
change, it checks for both.

This fixes PR4267, and miscompiles of SPEC 188.ammp and 464.h264.href.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72451 91177308-0d34-0410-b5e6-96231b3b80d8
2009-05-27 01:48:27 +00:00
..
2003-02-26-AccessSizeTest.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2003-03-04-GEPCrash.ll Suppress the (stderr) output of -aa-eval, this fixes 5 tests. 2008-06-10 12:39:15 +00:00
2003-04-22-GEPProblem.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2003-04-25-GEPCrash.ll Suppress the (stderr) output of -aa-eval, this fixes 5 tests. 2008-06-10 12:39:15 +00:00
2003-05-21-GEP-Problem.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2003-06-01-AliasCrash.ll Suppress the (stderr) output of -aa-eval, this fixes 5 tests. 2008-06-10 12:39:15 +00:00
2003-07-03-BasicAACrash.ll Suppress the (stderr) output of -aa-eval, this fixes 5 tests. 2008-06-10 12:39:15 +00:00
2003-09-19-LocalArgument.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2003-11-04-SimpleCases.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2003-12-11-ConstExprGEP.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2004-07-28-MustAliasbug.ll rename *.llx -> *.ll, last batch. 2008-04-19 22:32:52 +00:00
2004-12-08-BasicAACrash2.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2004-12-08-BasicAACrash.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2005-03-09-BrokenBasicAA.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2006-03-03-BadArraySubscript.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2006-11-03-BasicAAVectorCrash.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
2007-01-13-BasePointerBadNoAlias.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2007-08-01-NoAliasAndCalls.ll Accept both %y, %x and %x, %y as valid answers. 2008-01-06 03:12:44 +00:00
2007-08-01-NoAliasAndGEP.ll Fix http://llvm.org/bugs/show_bug.cgi?id=2104 by ordering lexicographically what gets printed. Be const-correct in PrintResults and uninline it too 2008-02-28 08:38:45 +00:00
2007-08-05-GetOverloadedModRef.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
2007-10-24-ArgumentsGlobals.ll Fix for PR1741. 2007-10-25 02:36:18 +00:00
2007-11-05-SizeCrash.ll Fix PR1774 and BasicAA/2007-11-05-SizeCrash.ll 2007-11-06 05:58:42 +00:00
2007-12-08-OutOfBoundsCrash.ll Fix PR1782, patch by Wojtek Matyjewicz! 2007-12-09 07:35:13 +00:00
2008-04-15-Byval.ll Don't assume a tail call can't reference a byval 2008-04-15 17:41:34 +00:00
2008-06-02-GEPTailCrash.ll Fixes PR2395. Looking for a constant in a GEP tail (when the first GEP 2008-06-02 17:26:12 +00:00
2008-11-23-NoaliasRet.ll Extend the 'noalias' attribute to function return values. This is intended to 2008-11-24 03:41:24 +00:00
2008-12-09-GEP-IndicesAlias.ll Allow basicaa to walk through geps with identical indices in 2008-12-10 01:04:47 +00:00
2009-03-04-GEPNoalias.ll change this to test for an alias result more directly. 2009-03-16 18:28:27 +00:00
byval.ll Teach basicaa that 'byval' arguments define a new memory location that 2008-01-24 18:00:32 +00:00
cas.ll Finish making AliasAnalysis aware of the fact that most atomic intrinsics only dereference their arguments, and enhance 2009-02-04 05:16:46 +00:00
constant-over-index.ll Teach BasicAliasAnalysis to understand constant gep indices that fall 2009-05-27 01:48:27 +00:00
dg.exp sabre brings to my attention that the 'tr' suffix is also obsolete 2008-05-20 21:00:03 +00:00
featuretest.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
gcsetest.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
global-size.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00
licmtest.ll Fix this test. It was testing broken behavior in that it required ADCE to eliminate 2008-05-16 04:25:09 +00:00
modref.ll Remove llvm-upgrade. 2008-02-14 06:56:27 +00:00
no-escape-call.ll If we are checking to see if the result of a call aliases a 2008-06-16 06:19:11 +00:00
nocapture.ll Resubmit support for the 'nocapture' attribute. 2008-12-19 06:39:12 +00:00
pure-const-dce.ll Make GVN able to remove unnecessary calls to read-only functions again. 2008-04-17 05:36:50 +00:00
tailcall-modref.ll Remove GCSE and LoadVN from the testsuite. 2008-08-16 00:00:54 +00:00