Commit Graph

1829 Commits

Author SHA1 Message Date
Tanya Lattner
ca1dd856d3 Removing unnecessary copies. Use %p to reference them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18059 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 23:47:23 +00:00
Reid Spencer
bab98e4a32 Test floating point constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18045 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:29:51 +00:00
Reid Spencer
e651c954aa An llvm-ar test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18043 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:41 +00:00
Reid Spencer
2e78cf6385 Provide the srcdir variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18042 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:25:10 +00:00
Reid Spencer
4fb6f81641 Describe the Archive test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18041 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:24:28 +00:00
Reid Spencer
eee1f5e238 Contents separated into individual tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18040 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-20 07:23:56 +00:00
Tanya Lattner
9397204e50 Forgot to join srcdir and subdir for complete path for input files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18022 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 23:00:19 +00:00
Tanya Lattner
f9e7943915 Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18021 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:46:23 +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
Reid Spencer
f6abe385b6 Test case for reading MacOSX archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18014 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:30:15 +00:00
Reid Spencer
019d5e9d35 MacOSX test archive (buggy).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18013 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 21:29:45 +00:00
Reid Spencer
5711a332f3 Make sure we can read an archive after it has been ranlib'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18000 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 18:44:31 +00:00
Reid Spencer
ed26b31946 Test case for xpg4 style archive files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17984 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:46:10 +00:00
Reid Spencer
b7bd81963d Test reading of SVR4 style archives with llvm-ar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17983 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:45:19 +00:00
Reid Spencer
30ce0f0c55 Test case for reading SVR4 style archives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17982 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 04:33:13 +00:00
Reid Spencer
37d8bd92a2 Solaris built archives in SVR4 and XPG4 styles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17980 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:41:57 +00:00
Reid Spencer
f5d957fb1f A test file that goes into the test archive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17978 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 03:24:02 +00:00
Reid Spencer
9692e39afe Obligatory DejaGnu/expect file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17974 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 02:26:35 +00:00
Chris Lattner
2dee43d317 New testcase that crashes licm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17912 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-17 17:39:19 +00:00
Chris Lattner
154113b78c New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17898 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-16 16:39:20 +00:00
Chris Lattner
826c47ea5b New testcase. Believe it or not, this happens a LOT in vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17745 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 20:41:39 +00:00
Chris Lattner
6e54db0852 New testcase: the phi can be eliminated if the casts are sucked into it.
Note that this reduces code size anyway (as well as making further
optimizations simpler) so it's always a win.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17739 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 19:12:17 +00:00
Chris Lattner
e58b25490b Fix typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17738 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:58 +00:00
Chris Lattner
56ef3aebd8 add a testcase, which we already handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17737 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 17:54:27 +00:00
Chris Lattner
f2c83db935 Oops, make this test the right thing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17731 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:11:41 +00:00
Chris Lattner
0240a377d8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17729 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:02:46 +00:00
Chris Lattner
6c84e795ea New testcase, SROA with variable array index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17726 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 04:58:40 +00:00
Tanya Lattner
d85f0af7c2 setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17720 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:36:18 +00:00
Chris Lattner
32e7a80cdb Add a testcase we should continue to argpromote
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17717 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:30:22 +00:00
Chris Lattner
78d223e1fb Add a testcase for a function we cannot legally promote the argument of.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17716 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:28:39 +00:00
Tanya Lattner
c7185ac36a Run prcontext.tcl with tclsh and let it be found in the path. This should be found by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17713 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:16:17 +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
Tanya Lattner
de942dc12d Changed to use tcl script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17711 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 22:55:51 +00:00
Chris Lattner
8408d0be90 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17709 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 22:21:15 +00:00
Tanya Lattner
4913cdcc37 Rewrote prcontext.py in tcl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17708 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 21:03:22 +00:00
Chris Lattner
706759e8c9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17703 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 19:49:39 +00:00
Chris Lattner
8de2da4105 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 00:06:32 +00:00
Chris Lattner
1f7893fe05 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17678 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-11 07:46:11 +00:00
Chris Lattner
6285016014 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17665 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-10 19:43:31 +00:00
Reid Spencer
8db573e190 Document quick-test target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17644 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 06:32:58 +00:00
Reid Spencer
ed8c089469 Add a quick-test target that uses QUICKTEST variable to quickly run a
portion of the test suite. e.g.:

make quck-test QUICKTEST=Regression/Bytecode


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17643 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 06:28:32 +00:00
Chris Lattner
2fc09aec71 Name file properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17641 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 05:07:01 +00:00
Chris Lattner
99159b91e5 Hrm, don't ask how I ran into this bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17640 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-09 05:06:23 +00:00
Alkis Evlogimenos
440add2697 Move path override in test/Makefile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17613 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 05:44:05 +00:00
Tanya Lattner
00a7469e69 Now using path to python found by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17610 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-08 03:26:59 +00:00
Reid Spencer
4b8f82fbe6 Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set
automatically in the Makefile.config file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17599 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:29:39 +00:00
Tanya Lattner
d09fbdc2e2 Changed TEST to TESTSUITE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17598 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:26:13 +00:00
Tanya Lattner
e976d89aa9 Fix for objdir != srcdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17597 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:24:21 +00:00
Tanya Lattner
808fafa4cc More srcdir != objdir changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17596 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 23:21:50 +00:00
Tanya Lattner
e243e2ff45 Made changes to support objdir!=srcdir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17590 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 22:04:21 +00:00
Tanya Lattner
491e9cd182 Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17586 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 21:39:41 +00:00
Tanya Lattner
38ed80aefb Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 08:24:59 +00:00
Chris Lattner
ec3a78f7ad Revert back to r1.1, I'm just thoroughly confused :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17571 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 07:46:15 +00:00
Chris Lattner
ac196c66a3 Add new (old) testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17570 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 07:41:32 +00:00
Tanya Lattner
3f7706b5d2 Added RUN lines and dejagnu support for Feature dir.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17568 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 06:08:43 +00:00
Chris Lattner
12d632c8d0 Add missing file header
Add some comments
Switch to use 'find' to do the clean instead of globbing


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17559 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:05:37 +00:00
Tanya Lattner
030a552398 Removing old Modulosched tests since that version of modulosched does not exist anymore and llc does not support modulosched by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17558 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:04:58 +00:00
Tanya Lattner
70053a5160 With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
Some variables could be made global.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17557 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:02:56 +00:00
Tanya Lattner
6089616946 Added RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17556 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:01:34 +00:00
Tanya Lattner
7a7cb4c99b Added rough support for dejagnu testing. Changes need to be made to autoconf to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash.
The dejagnu-clean needs to be fixed to use find.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17555 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 04:59:52 +00:00
Tanya Lattner
1976abd4cc Changed to XFAIL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17554 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 04:37:08 +00:00
Chris Lattner
23c71305cf Update this to expect AT&T syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17552 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 01:46:16 +00:00
Chris Lattner
a5df46220c Tests for this xforms should be .ll files, and they should have run lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17543 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:38:16 +00:00
Chris Lattner
7cdf6f806f Remove dead tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17542 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:36:30 +00:00
Chris Lattner
7452ac7c14 This is not part of the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17541 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:34:45 +00:00
Chris Lattner
a11bcdf110 Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17540 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:33:14 +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
b4be8ee024 These files are all moved to test/Regression/CodeGen/Generic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17538 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 00:24:14 +00:00
Chris Lattner
fc77e0d0ae This test is obsolete and incorrect
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17537 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:42:32 +00:00
Tanya Lattner
e9789ef994 Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:32:43 +00:00
Tanya Lattner
2334e6d908 Adding RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17534 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:16:51 +00:00
Tanya Lattner
2393a24fed Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 23:08:26 +00:00
Tanya Lattner
e9af5d186b Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17532 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 22:41:00 +00:00
Tanya Lattner
d13e0ae12e Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17529 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 22:29:57 +00:00
Tanya Lattner
e7e3f2e5cd Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 22:07:09 +00:00
Tanya Lattner
cd0aa818c8 Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17527 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:40:51 +00:00
Chris Lattner
5f0a8c7384 Add missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17522 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:11:04 +00:00
Tanya Lattner
3bdb2f58c0 First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17521 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:07:41 +00:00
Chris Lattner
7eed62b15e Add a run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17520 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:07:31 +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
a9236a8d4b This pass has been removed from LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17518 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 21:02:30 +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
Brian Gaeke
64aeb00928 CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing.  Clearly, better error checking is
needed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-03 17:11:23 +00:00
Reid Spencer
cc2d1e25f3 Internalize variable names to prevent recursive assignment. Cleanup docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:19:36 +00:00
Nate Begeman
2a40841387 Initial checkin of regression test for generating the PowerPC rlwimi
instruction, which performs bitfield inserts.  All tests should compile
to one rlwimi instruction.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17206 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24 10:30:22 +00:00
Chris Lattner
7450d81342 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17176 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23 03:10:01 +00:00
Chris Lattner
40e08082a0 New testcase. Check for the ability to promote a malloc whose initialzed state is checked by the program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17160 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 06:43:07 +00:00
Chris Lattner
d7e30973cd New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17115 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-18 04:06:41 +00:00
Chris Lattner
559069d46d New testcase that ADCE shouldn't crash on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17105 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 23:44:02 +00:00
Chris Lattner
58f8bdc6c6 New testcase that crashes the inliner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 23:20:29 +00:00
Chris Lattner
41b2dc4133 New testcase, no PHI should be inserted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 21:25:32 +00:00
Chris Lattner
51a2c5aebf New testcase, rework testcases to fail if there are any gep's other than those
involving %B instead of allowing any geps except %A's.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17065 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 19:44:23 +00:00
Chris Lattner
6542a46e6f New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17061 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:28:01 +00:00
Chris Lattner
9bbcf09431 testcases for undefined and unreachable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17058 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:24:11 +00:00
Chris Lattner
1c7efba2bd When converting phi nodes into select instructions, we shouldn't promote PHI
nodes unless we KNOW that we are able to promote all of them.  In this case
promoting the phi to a select is silly because we will always have to do the
call conditionally.  As such, select promotion is actually a pessimization.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16972 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-14 05:12:50 +00:00
Chris Lattner
b18dfebb3a New testcase for memmove -> memcpy transform
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16931 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-12 04:51:55 +00:00
Chris Lattner
c58cf5b921 This testcase ensures that we can SRA a global even if part of the global
cannot be SRA'd


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16915 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:30 +00:00
Chris Lattner
95d0bbfda6 These testcases check to see if we can promote malloc's to globals in some
cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16914 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:12 +00:00
Chris Lattner
e3f27e66e5 Another testcase. We should be able to devirtualize the call even though
we cannot completely eliminate the global.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16900 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 23:12:33 +00:00