Nick Lewycky
d6dac0eebc
Let scalar-evolution analyze loops with an unsigned comparison for the exit
...
condition. Fixes 1597.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40867 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-06 19:21:00 +00:00
Nick Lewycky
06323bfe03
Don't assume it's safe to transform a loop just because it's dominated by any
...
comparison. Fixes bug 1598.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40866 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-06 18:33:46 +00:00
Chris Lattner
947596c351
update for new domtree dump format
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40857 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-06 06:17:08 +00:00
Christopher Lamb
406bfa3e21
Teach BasicAA about noalias parameter attributes, but do it correctly this time.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40711 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-02 01:18:14 +00:00
Christopher Lamb
321ff4e6d5
Revert overly aggressive interpretation of noalias
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40635 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-31 16:18:07 +00:00
Devang Patel
fee0a9c7ef
Bunch of tests to check loop passes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40629 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-31 08:04:17 +00:00
Christopher Lamb
50192c2152
Teach BasicAA about noalias function parameters. Passes all of DejaGNU and test-suite.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40624 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-31 07:04:51 +00:00
Nick Lewycky
eefdebe002
Handle decrementing loops properly. Fixes PR1533.
...
Always pass the constant as the second parameter to HowManyLessThans.
Remove obsolete "isSigned" parameter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39893 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16 02:08:00 +00:00
John Criswell
e644ef7b09
Convert .cvsignore files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37801 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-29 16:35:07 +00:00
Zhou Sheng
fc24a72d9e
Add two test cases to cover apintification change.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36476 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 16:44:48 +00:00
Devang Patel
4fc82a6e43
New test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36293 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 00:34:37 +00:00
Devang Patel
7d87c1476a
New test.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36235 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-18 00:51:43 +00:00
Reid Spencer
eb1d74e0c8
For PR1319:
...
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:36:08 +00:00
Reid Spencer
43b40035ba
For PR1319:
...
Fix syntax of tests to ensure grep pattern is properly quoted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:31:49 +00:00
Reid Spencer
4cda190ef5
For PR1319:
...
Fix test syntax per new rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:15:52 +00:00
Nick Lewycky
c3c65d0905
Fix this test to test what it was intended to test.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36072 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 13:14:33 +00:00
Reid Spencer
b477f7dd65
For PR1319:
...
Upgrade to use new Tcl exec based test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36066 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 09:31:07 +00:00
Owen Anderson
e9bbaa2293
Update tests for the disappearance of -idom.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36064 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 08:54:57 +00:00
Reid Spencer
78fb2acea2
Changes to fix problems with "make check". Apparently you can redefine
...
functions and Tcl's just tickled with that. The fix is to give the "new"
test system a different interface function name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36022 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 22:51:29 +00:00
Reid Spencer
4b3fd6c010
Convert test cases to new llvm.exp version of llvm_runtest and fix tests
...
that it found to be broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 19:27:03 +00:00
Reid Spencer
6f254906c5
For PR1319:
...
Convert to use new llvm.exp version of llvm_testrun
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36008 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-14 19:10:21 +00:00
Reid Spencer
0f5aed5648
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-11 19:56:59 +00:00
Nick Lewycky
27dcbe5f87
Fix this testcase to fail if the bug were reintroduced.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35776 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-08 21:49:13 +00:00
Owen Anderson
cd4abb7e6d
Remove DomSet completely. This concludes work on PR1171.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35775 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-08 21:30:05 +00:00
Reid Spencer
5373b721c0
Remove use of implementation keyword.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-28 02:38:26 +00:00
Reid Spencer
908504347b
For PR411:
...
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33660 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 16:16:01 +00:00
Reid Spencer
e3ff5ada8a
For PR761:
...
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.
For PR645:
Make global names use the @ prefix.
For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 08:25:06 +00:00
Reid Spencer
b164c76709
Ignore the output directory.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33275 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 01:48:42 +00:00
Chris Lattner
5a42a935b2
testcase for pr1110
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33203 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 18:33:11 +00:00
Chris Lattner
84efeda7ea
testcase for pr1109
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33194 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 05:56:45 +00:00
Chris Lattner
d8523aa5de
new testcase for pr1101
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33192 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 01:23:43 +00:00
Reid Spencer
737ec5130e
For PR1043:
...
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test
cases and from grep expressions. The parser doesn't accept it and the
asm writer doesn't produce it any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33183 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 05:06:52 +00:00
Reid Spencer
eacb7020ec
For PR950:
...
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:
1. Make sure llvm-upgrade is run on the source which does the bulk of the
changes automatically.
2. Change things like "grep 'int'" to "grep 'i32'"
3. In several tests bitcasting caused the same name to be reused in the
same type plane. These had to be manually fixed. The fix was (generally)
to leave the bitcast and provide the instruction with a new name. This
should not affect the semantics of the test. In a few cases, the
bitcasts were known to be superfluous and irrelevant to the test case
so they were removed.
4. One test case uses a bytecode file which needed to be updated to the
latest bytecode format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32789 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 06:02:00 +00:00
Reid Spencer
73e70822ae
Update tests that need to be run through llvm-upgrade. This is necessary
...
for upcoming changes to the llvm assembly grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:01:32 +00:00
John Criswell
3ce85d5f8e
Remove DSA tests.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32543 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 17:02:04 +00:00
Reid Spencer
69ccadd753
Use the llvm-upgrade program to upgrade llvm assembly.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 04:23:10 +00:00
Reid Spencer
3da59db637
For PR950:
...
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 01:05:10 +00:00
Reid Spencer
e5d4efa63e
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
...
older features will be dropped soon and these test cases must not rely
on the upgrade capability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-23 15:14:52 +00:00
Reid Spencer
52d0d6648e
Fix bugs in this. What was I thinking??? :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31848 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-18 08:06:17 +00:00
Reid Spencer
64fc3411b0
Fail even if opt doesn't print anything.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31844 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-18 06:08:21 +00:00
Reid Spencer
1faa5491d2
Add a simple test to make sure getModRefInfo is 1/2 way sane.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31842 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-18 05:52:18 +00:00
Chris Lattner
3d6857f9fd
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31426 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-03 21:58:14 +00:00
Reid Spencer
f5d913409d
Improve cvs ignoring of test results.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31217 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-27 16:43:34 +00:00
Andrew Lenharth
21c04a3c8b
restore these tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31133 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-23 19:52:27 +00:00
Chris Lattner
2d4f13e303
New testcase for PR932
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30695 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-03 07:00:13 +00:00
Chris Lattner
b363312940
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30683 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-01 22:35:45 +00:00
Devang Patel
6432bf80ce
Add http://llvm.org/bugs/show_bug.cgi?id=923 test case.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30622 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-27 02:58:44 +00:00
Chris Lattner
d52e1b0dbe
Update tests now that opt no longer reads .ll files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29927 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-27 22:47:14 +00:00
Reid Spencer
fd90dd5d55
For PR872:
...
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included
most of the analysis passes. To get the old analyze functionality pass
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further
integration such as removing the distinction between transform passes
and analysis passes.
To use the analysis functionality, if you previously did this:
analyze $FNAME -domset -disable-verify
you would now do this:
opt -analyze $FNAME -domset -disable-verify
Pretty simple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29762 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-18 06:34:30 +00:00
Andrew Lenharth
b916ba1fe4
not really XFailing these, as only incompleteness is wrong in the graph
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28967 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-28 20:14:30 +00:00
Andrew Lenharth
e2339aff9f
change I flag on test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28966 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-28 20:07:36 +00:00
Andrew Lenharth
044edfe019
another c99 style problem
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27969 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-25 19:27:56 +00:00
Andrew Lenharth
8cfc9c4a53
from the linux kernel
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27674 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 19:50:07 +00:00
Tanya Lattner
9727555859
Added the ability to xfail based on llvmgcc version
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Andrew Lenharth
34bf973cf8
make this test less exacting
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27429 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-05 03:31:45 +00:00
Andrew Lenharth
24cc46ef6c
Adding links to a node collapsed during type merging crashes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27193 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-27 23:38:48 +00:00
Reid Spencer
2676f83776
Tired of wading through cvs's list ? files that are generated when building
...
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +00:00
Andrew Lenharth
ace0565e65
better check
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26780 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-15 19:02:54 +00:00
Chris Lattner
42983657ad
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26514 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-04 02:05:07 +00:00
Chris Lattner
20fad44ede
New testacse for information exposed by the 'tail' call marker.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21795 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-08 23:57:34 +00:00
Chris Lattner
7759adfb4d
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21087 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-04 22:22:30 +00:00
Chris Lattner
dbcc2f7b0b
fix the RUN line on this testcase so it passes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20833 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-25 15:36:19 +00:00
Chris Lattner
4e59c642c8
new testcase that DS-AA is causing to be miscompiled.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20813 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-24 17:57:43 +00:00
Chris Lattner
e04d51f4a5
GlobalMR should be able to analyze this function.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20795 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 23:48:56 +00:00
Chris Lattner
ad46cf0282
new testcase to verify that we have field sensitive alias analysis info. This
...
test cannot be satisfied without interprocedural information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20778 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 01:46:59 +00:00
Chris Lattner
c7c6a864c0
We might as well check the TD graphs as well, even though they are fine.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20774 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-22 22:11:22 +00:00
Chris Lattner
4c10375785
New testcase, the BU pass is marking the global complete in the globals graph.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20772 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-22 22:07:15 +00:00
Chris Lattner
73f1ac49f2
New testcase, which is important to handle correctly.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20739 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 20:18:51 +00:00
Chris Lattner
465e24ba20
new testcase for a -basicaa bug that Alkis found with Java.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20530 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-09 16:29:22 +00:00
Chris Lattner
feeeb30c32
Make this testcase a bit more challanging
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19019 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-17 17:14:00 +00:00
Chris Lattner
dbd4f1000e
Change the test to check to see that CSE happens not dead call elim
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19017 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-17 17:11:41 +00:00
Alkis Evlogimenos
c49741d047
Add testcase and fix for yet another case where we query the size an
...
abstract type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:56:15 +00:00
Alkis Evlogimenos
a95cf3024b
Add testcase and fix for another case where we query the size an
...
abstract type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18676 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 23:42:11 +00:00
Chris Lattner
4e4f7312e0
new testcase basicaa should handle
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18260 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-26 19:19:28 +00:00
Tanya Lattner
c8c1f12778
Adding srcdir arg
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Tanya Lattner
28b372f1d3
Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:00:45 +00:00
Chris Lattner
3967c2fb00
Nuke useless testcases
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17539 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:30:51 +00:00
Chris Lattner
465743140a
Add a missing run line
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17519 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:03:41 +00:00
Chris Lattner
392b75cbc7
Add missing run line
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17517 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:01:45 +00:00
Tanya Lattner
12ff96854d
Adding XFAIL lines for dejagnu support.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 20:38:27 +00:00
Chris Lattner
3bbb4102ac
Believe it or not, this was broken in LLVM 1.3
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15812 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-16 05:39:19 +00:00
Chris Lattner
08f998f08d
Due to a bug in BasicAA, DSE is incorrectly deleting the first store in
...
this testcase, causing the miscompilation of MallocBench/gs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15315 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-29 01:33:05 +00:00
Chris Lattner
a9db34f13c
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15259 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-27 06:35:11 +00:00
Chris Lattner
059f5a5e05
Have some testcases
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15258 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-27 06:26:08 +00:00
Chris Lattner
2b83af553a
Testcases for andersen's alias analysis.
...
I think this is all of the stuff I had pending in my tree..
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13703 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:31:00 +00:00
Chris Lattner
4a1f2e3399
Add another variant of the testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12834 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-11 19:01:35 +00:00
Chris Lattner
ffdc4ff1c4
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12832 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-11 16:47:15 +00:00
Chris Lattner
414294e05b
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12640 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-03 00:44:56 +00:00
Chris Lattner
13ebaeb278
Fix testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12444 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-16 20:04:55 +00:00
Chris Lattner
142c304dbb
New testcase for CSE of call instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-15 05:44:29 +00:00
Chris Lattner
66d0884954
Make sure that pure calls don't kill loads
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12416 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-15 04:17:53 +00:00
Chris Lattner
1306089055
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12348 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 22:38:31 +00:00
Misha Brukman
a24653cdfc
Test the mod/ref analysis in DSA.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12333 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 06:17:22 +00:00
Chris Lattner
26b6dac640
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11851 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-25 23:34:04 +00:00
Chris Lattner
01533ff652
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11682 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 23:05:43 +00:00
Chris Lattner
c201a7a911
Right, memcpy READS memory too :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11373 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 16:09:37 +00:00
Chris Lattner
7f007250e1
New testcase for support for memcpy/memmove
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11372 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 16:04:51 +00:00
Chris Lattner
7f430a5049
New testcase for better mod/ref information that basicaa can provide
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11023 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-30 22:18:47 +00:00
Chris Lattner
de454ffb5b
Rename variable to avoid confusing it with the global G
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10411 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-11 22:49:32 +00:00
Chris Lattner
5211296580
New testcase for PR86
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10403 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-11 19:16:30 +00:00
Chris Lattner
2bde8bdc16
While working on the pool allocator, I noticed that basicaa is failing a scary
...
number of simple cases. Someday when I get a chance to work on it again, this
testcase should be corrected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9695 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 16:40:40 +00:00
Chris Lattner
dab02aeada
New testcase for DSA which is improperly collapsed!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9657 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-02 20:43:10 +00:00
Chris Lattner
8087e25017
Fix buggy test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9407 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:46:42 +00:00
Chris Lattner
4acad5c9e7
New testcase that basicaa should be able to handle
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8614 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-20 03:08:21 +00:00
Misha Brukman
e78760e179
Renamed as' =>
llvm-as', dis' =>
llvm-dis', link' =>
llvm-link'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-16 15:29:54 +00:00
John Criswell
473741930e
Removing Makefiles. Regression tests are now run by QMTest.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8548 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:21:38 +00:00
Misha Brukman
14285c89e7
Renamed as' =>
llvm-as', dis' =>
llvm-dis'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8544 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:02:53 +00:00
Chris Lattner
ebd2220152
Fix grammar-o
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8392 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-08 17:45:18 +00:00
Chris Lattner
680f6a42c2
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8391 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-08 17:43:36 +00:00
Chris Lattner
d6f1537f11
Add fixmes
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7335 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-25 21:13:16 +00:00
Chris Lattner
4446617ae2
Update to use more modern graph checker
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7332 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-25 21:09:20 +00:00
Chris Lattner
6235b2a7db
New testcase, an automatized version of Vikrams ggcollapse.c file
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7331 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-25 21:09:11 +00:00
Chris Lattner
e41fb36b26
Checkin of Vikram's ggfuncptr.c test adapted for automatic checking
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7324 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-25 20:53:58 +00:00
Chris Lattner
2c77cb9101
Check in old testcase sitting in my tree
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7277 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-23 20:48:03 +00:00
Vikram S. Adve
71b35cd0fe
Tests for globals with different kinds of behavior in DS Analysis.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7191 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-16 21:48:38 +00:00
Chris Lattner
c863c41903
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7092 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-03 06:29:15 +00:00
Chris Lattner
7d63ac6252
Make testcase a bit more interesting
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7033 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:28:32 +00:00
Chris Lattner
993251ecd6
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7032 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 16:28:20 +00:00
Chris Lattner
69134dcafa
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7010 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 15:17:39 +00:00
Chris Lattner
98f0ef58cd
Add dependency on analyze
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7009 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 15:17:36 +00:00
Chris Lattner
4f00818cd9
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6995 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 03:25:53 +00:00
Chris Lattner
a834599225
Add clean target to clean up my mess
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6988 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 23:20:51 +00:00
Chris Lattner
ca29178bb9
This node should not be incomplete!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6984 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:35:55 +00:00
Chris Lattner
a3a388be36
New, smaller testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 18:17:20 +00:00
Chris Lattner
b260eb82d7
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 17:18:59 +00:00
Chris Lattner
dbb6cd12eb
Fix testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6976 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 01:09:07 +00:00
Chris Lattner
4fe77cdcf2
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6975 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 01:03:53 +00:00
Chris Lattner
1df3112042
Make sure that the global is known to be internal
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6974 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:57:34 +00:00
Chris Lattner
9e762d0cd1
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6969 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:52:34 +00:00
Chris Lattner
202f2eab90
Do not chain to basic-aa
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6968 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:49:06 +00:00
Chris Lattner
50e8682f28
Remove explicit control flow through the use of the 'not' script
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6965 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:23:34 +00:00
Chris Lattner
0bc99d36b6
Improve the make rule
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6948 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:16:59 +00:00
Chris Lattner
607411bfbb
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:56:22 +00:00
Chris Lattner
34e0ada19a
New makefile for Dsgraph tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6940 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:16:38 +00:00
Chris Lattner
6fd866c98d
Add DSGraph to the tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:16:27 +00:00
Chris Lattner
1ae9143050
Add new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6739 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-17 15:16:35 +00:00
Chris Lattner
14d7f5dfdd
Fix testcase to work with store forwarding
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6689 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 11:59:34 +00:00
Chris Lattner
4bf00c10d5
No need to print out bytecode :)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6537 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 05:42:16 +00:00
Chris Lattner
2e33430a0d
New testcase, reduced from 300.twolf by bugpoint
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6534 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 04:58:23 +00:00
Chris Lattner
6011733e79
Trim testcase a bit
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6269 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 19:55:10 +00:00
Chris Lattner
5ce0351370
New testcase identified by joel
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6268 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 19:48:33 +00:00
Chris Lattner
451840e8e5
Depends on analyze, not opt
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6229 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:32 +00:00
Chris Lattner
b428c8b1d3
New directory
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6228 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:12 +00:00
Chris Lattner
ed69ad778d
New test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6227 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:03 +00:00
Chris Lattner
98a3e98fa4
Add new loopinfo test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6226 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:02:54 +00:00
Chris Lattner
b17a67807a
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6157 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 22:28:15 +00:00
Chris Lattner
fd9c5de425
New file
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6156 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 22:25:24 +00:00
Chris Lattner
c938ba0c0d
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 17:59:02 +00:00
Chris Lattner
63a6e77485
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5857 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 22:00:15 +00:00
Chris Lattner
3fc7b6bd65
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5694 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-04 16:33:52 +00:00
Chris Lattner
1e6233af96
Make the testcase more interesting, test that two different array elements don't alias
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5689 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 23:27:15 +00:00
Chris Lattner
cd4d41cd4f
Fix test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5646 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 22:01:58 +00:00
Chris Lattner
2271fddb6d
New testcase for size tracking brokenness
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5644 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 21:39:52 +00:00
Chris Lattner
24a0bee387
Hopefully final tweak to this testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5626 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 16:18:00 +00:00
Chris Lattner
7b9b1f9ad3
Add a new test for basicaa
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5625 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-25 21:43:37 +00:00
Chris Lattner
be677588a3
Fix testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5621 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 23:14:07 +00:00
Chris Lattner
4944d8dbc8
Fix test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5617 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 20:30:14 +00:00
Chris Lattner
4e31365703
Tweak testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5612 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 03:52:13 +00:00
Chris Lattner
7e38fbe374
Add a basic-aa test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5516 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-09 19:01:00 +00:00
Chris Lattner
1cdfd83d62
Check field sensitivity
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5483 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-03 21:40:14 +00:00
Chris Lattner
0eef9b31af
Initial tests for DS alias analysis
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5481 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-03 21:31:43 +00:00
Chris Lattner
6648645559
Update test to use long instead of uint getelementptr subscripts
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4280 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-25 22:29:07 +00:00
Chris Lattner
e4f318c7fc
New testcase that tests for array pointer analysis type stuff
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3615 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-08 18:08:36 +00:00
Chris Lattner
72846c2dcd
Fix bug in testcase now that load-vn is not built into gcse
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:50:41 +00:00
Chris Lattner
92bab83913
Fix broken test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-07 22:48:30 +00:00
Chris Lattner
1a24282b5c
Make sure to run these tests with load value #'ing
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3530 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 20:18:09 +00:00
Chris Lattner
8673e44639
Add a testcase that checks to make sure LICM uses basicaa correctly.
...
Add another gcse testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3471 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 20:22:55 +00:00
Chris Lattner
ac39b4ecab
Initial testcases for basicaa alias analysis
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3462 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 17:31:36 +00:00
Chris Lattner
5abaa0c290
Add tests of redundant load elimination
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2636 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-16 01:03:12 +00:00