Commit Graph

699 Commits

Author SHA1 Message Date
Chris Lattner
ef09aab9ce New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12761 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 18:38:01 +00:00
Chris Lattner
9f01e8a28d New testcase that crashed scalarevolution on sparc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12755 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 16:17:45 +00:00
Chris Lattner
1b151b4a3b New testcase for PR312
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12667 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-05 18:46:33 +00:00
Chris Lattner
ec3f8cd551 New testcase that crashes the instcombine pass. Dominance properties have
no meaning if the code is not reachable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12657 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-05 02:01:32 +00:00
Chris Lattner
9187ed5d18 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12624 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-02 20:27:47 +00:00
Chris Lattner
788aed9146 New testcases for the indvars pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12622 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-02 20:26:04 +00:00
Chris Lattner
45a0a61534 Tweak testcase to work with new indvars pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12621 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-02 20:25:26 +00:00
Chris Lattner
512c2481b1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12616 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-02 18:12:49 +00:00
Chris Lattner
8b8ff16dba New testcase for PR310
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12596 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-01 20:28:35 +00:00
Chris Lattner
afd5e2fdec New testcase for PR306
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12591 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-01 19:05:54 +00:00
Chris Lattner
4971b722ff Oops, actually USE the previously computed value
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12547 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 19:45:39 +00:00
Chris Lattner
5dd784a8ca Test general value/value selection which we can do now that we use the
select instruction


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12546 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 19:45:11 +00:00
Chris Lattner
6d0996866c Add some testcases for select simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12543 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-30 19:36:54 +00:00
Chris Lattner
f6e59410ee New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12518 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-25 22:59:06 +00:00
Chris Lattner
f3fbddd333 New testcase, the optimizer can delete zero sized allocas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12506 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-19 06:07:43 +00:00
Chris Lattner
43aaf66a39 This is the last remaining bug that I know of in the loop extractor. The loop
extractor has extracted hundreds of loops from the SPEC benchmarks without crashing
and without misoptimizing the programs.

This testcase could be reduced substantially more by hand, but I don't have time
to work on it right now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12495 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-18 06:41:59 +00:00
Chris Lattner
a930de523f New testcase, reduced from 256.bzip2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12492 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-18 05:55:29 +00:00
Chris Lattner
fa3e86f93d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12488 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-18 05:33:39 +00:00
Chris Lattner
959754e70c New testcase that crashes the code extractor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12485 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-18 04:10:02 +00:00
John Criswell
2942e6356b Modify test to use the %t substition (temporary name). This is available
in the QMTest Testrunner tests.
Please note that putting output files in the Output directory no longer
works, as QMTest does not build Output directories anymore (nor does the
test run in a separate subdirectory, anyway).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12466 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-17 02:31:29 +00:00
Chris Lattner
df22f9c41b Another simple testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12455 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-16 23:07:52 +00:00
Chris Lattner
4dcd0d18ae Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12445 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-16 21:10:15 +00:00
Chris Lattner
339c50873d New testcase for PR293
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12433 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-16 05:44:02 +00:00
Chris Lattner
65a88e83e3 New testcases to test LICM of call instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12414 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-15 04:10:08 +00:00
Chris Lattner
e94fd1963d New testcase that causes the code extractor to generate bogus code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12404 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-15 00:08:49 +00:00
Chris Lattner
3b04a7a131 New testcase that crashes the loop extractor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12399 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-14 22:16:52 +00:00
Chris Lattner
6cc83750b8 New testcase that crashes the -lowerswitch pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12383 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-14 04:13:57 +00:00
Chris Lattner
fc44806194 New testcase that crashes the loop extractor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12376 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-14 03:03:59 +00:00
Chris Lattner
ffd072af91 New testcase, distilled from povray I think.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12364 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-13 23:53:04 +00:00
Chris Lattner
eb416e85bc Oh right, casts can interfere. Test this too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12354 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-13 00:11:38 +00:00
Chris Lattner
99780ce874 new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12352 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 23:52:51 +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
Chris Lattner
f820e3b4b8 test instruction combiner opts for select instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12328 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-12 06:01:00 +00:00
Chris Lattner
a22ef48fee New testcase for PR284: [indvars] Induction variable analysis violates LLVM invariants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12274 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-10 21:41:47 +00:00
Chris Lattner
95481b1d06 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12201 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-08 00:58:19 +00:00
Chris Lattner
afa38575aa New testcase for missed case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12199 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-07 22:52:41 +00:00
Chris Lattner
b9f266a609 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12192 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-07 21:28:54 +00:00
Chris Lattner
2b39c91a40 Testcase for a bug that caused a whole bunch of testcases to die in the nightly
tester last night.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12011 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-29 22:15:51 +00:00
Chris Lattner
39bd69aa55 Add a testcase for switch instruction induction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11965 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-28 21:30:39 +00:00
Chris Lattner
43c4361178 new testcase for intrinsic folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11943 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-28 05:28:42 +00:00
Chris Lattner
efd74a0159 The instruction combining pass removes dead instructions, there is no need
to run the die pass after it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11942 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-28 05:26:06 +00:00
Misha Brukman
870e587d5d Two testcases for loops: one with outputs, one without.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11934 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-28 03:20:41 +00:00
Chris Lattner
f7b0041fb5 The instcombiner should canonicalize comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11899 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-27 06:27:07 +00:00
Chris Lattner
2189a76024 New testcase. Switch instructions that go to switch instructions should be
merged.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11796 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-24 07:21:09 +00:00
Chris Lattner
d1eaebef49 The simplifycfg pass should be able to turn stuff like:
if (X == 4 || X == 7)
and
  if (X != 4 && X != 7)

into switch instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11791 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-24 05:34:44 +00:00
Chris Lattner
86171b9203 Test for the other way also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11767 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 20:24:16 +00:00
Chris Lattner
cedfd2c78d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11766 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 20:19:51 +00:00
Chris Lattner
3c4de7fbe0 Add tests for casts that should be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11741 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 07:16:03 +00:00
Chris Lattner
19e40ade3d Handle the unsigned form as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11739 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 06:37:33 +00:00
Chris Lattner
f4821745df Add a slight variant of test10
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11736 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 05:59:52 +00:00
Chris Lattner
1dda055e55 This multiply can be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11733 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-23 05:38:47 +00:00
Chris Lattner
0ca4418b95 Test that the instruction combiner can fold away a cast in a GEP instruction.
This occurs in 164.gzip, as a result of it declaring arrays extern.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11701 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-22 05:24:09 +00:00
Chris Lattner
5ea27d820a New testcase, details in the comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11495 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-16 06:35:19 +00:00
Chris Lattner
d8bed768ab A new testcase for a situation that occurs in 181.mcf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11493 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-16 05:06:36 +00:00
Chris Lattner
72695f7bb7 Add a test for the "swap idiom", which LLVM should be able to unravel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11491 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-16 03:53:44 +00:00
Chris Lattner
a783c02749 Test for xor chains
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11489 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-16 01:19:52 +00:00
Chris Lattner
115e5e6abb Basic functionality testing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11312 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-11 05:00:27 +00:00
Chris Lattner
54636af39d New feature testcase for simplifycfg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11306 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-11 03:35:04 +00:00
Chris Lattner
7f5dd4a4e0 New testcase for PR223: Loopsimplify incorrectly updates dominator information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11136 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-05 21:11:38 +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
f6e180324e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10843 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-14 05:53:11 +00:00
Chris Lattner
debcbd0a46 Test to make sure we can SCCP load instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10766 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 04:28:32 +00:00
Chris Lattner
ff2ab4db20 New testcase, allow folding of binary operators that use PHI nodes, as long
as the result of the binary operator is always constant.  This does not require
the PHI itself to be constant though.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10762 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 03:57:00 +00:00
Chris Lattner
33a79d73bd New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10760 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 01:17:42 +00:00
Chris Lattner
14e1726b2e new testcase for cananonicalization of subtracts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10581 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-22 05:24:45 +00:00
Chris Lattner
7610a287c6 New testcase to see if -indvars can promote pointer arithmetic to array accesses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10577 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-22 05:00:13 +00:00
Chris Lattner
595bb97fc7 New testcase for PR194
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10568 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-21 19:06:15 +00:00
Chris Lattner
7fe178681b New testcase for missed optimization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10538 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 09:08:15 +00:00
Chris Lattner
bb8d661b27 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10533 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-19 06:54:37 +00:00
Chris Lattner
215da0c040 New testcase, for PR185
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10471 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-15 17:33:41 +00:00
Chris Lattner
2040d6ecbd new test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10466 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-14 23:39:34 +00:00
Chris Lattner
15beaf7d65 Testcase for PR179
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10455 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-14 04:46:07 +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
0ac4d9247b New testcase that LICM is breaking crafty on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-11 22:15:11 +00:00
Chris Lattner
258f49cb84 Fix test that was failing because we were optimizing the program better than expected :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10404 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-11 21:06:43 +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
da7d0693b5 A new testcase, reduced by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10384 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 20:39:53 +00:00
Chris Lattner
7d104178aa new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10381 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 20:18:09 +00:00
Chris Lattner
7277826d7e New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10374 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 17:57:38 +00:00
Chris Lattner
baf9d2ea62 New testcase which caused a bunch of tests to break last night with more
aggressive LICM


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10372 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 17:09:35 +00:00
Chris Lattner
94046b2cc9 new testcase, checking to ensure we handle yet-another spiffy case correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10357 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 05:42:23 +00:00
Chris Lattner
a8d9c83ebe Yet another hard testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10349 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 23:29:25 +00:00
Chris Lattner
d0069a08b9 Add a new testcase which breaks the sinker because the loop canonnicalization
pass does not do a canonnicalization that the sinker wants.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10346 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 22:05:08 +00:00
Chris Lattner
caef3cccf5 Fix buggy test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10345 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 21:45:23 +00:00
Chris Lattner
87d9e69995 New testcase for sinking operations from loops with multiple exits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10344 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 21:40:36 +00:00
Chris Lattner
8f25f46843 Make the test a bit harder so that we test to ensure that _both_ instructions
are sunk


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10343 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 20:50:20 +00:00
Chris Lattner
2faaddab60 New testcases for LICM improvement: code sinking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10339 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 16:56:51 +00:00
Chris Lattner
612ac2dfaa Improve portability with Mac OS/X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10338 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 16:49:12 +00:00
Chris Lattner
16442cba7c Improve testcase portability on OS/X
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10337 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 16:48:24 +00:00
Chris Lattner
bb9fc2c461 New testcase that is not actually handled yet, but should be in the future.
This is here to remind me to get back to this after a while.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10336 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-09 16:26:42 +00:00
Chris Lattner
6c3a21a368 Whoops, forgot to check this in. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10334 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 23:41:09 +00:00
Chris Lattner
62d0f73300 New testcase for automatic insertion of accumulator variables to eliminate
tail recursion


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10331 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 23:16:25 +00:00
Chris Lattner
63c08be5e7 New testcase, this should be -tailcallelim'inated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10311 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-08 05:32:48 +00:00
Chris Lattner
120fb19e1b New testcase that the raiseallocations pass should be able to handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10304 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-07 01:25:36 +00:00
Chris Lattner
7219a21138 new testcase for problem causing 2003-10-12-GlobalVarInitializers failures
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10251 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29 05:19:15 +00:00
Chris Lattner
be8d29909e New testcase that breaks the pruneeh pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10162 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 02:20:08 +00:00
Chris Lattner
0ac5af08dc Fix an all too common form of the 'Found global types that are not compatible' warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10122 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-20 21:04:35 +00:00
Chris Lattner
30263d0c4c Improve test portability
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10087 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 18:37:06 +00:00
Chris Lattner
f9e8379c29 Fix testcase. This should no longer be XFAIL'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10086 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 18:34:44 +00:00
Chris Lattner
780bcaabaa There is no need to rely on LLI working for this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10036 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 22:07:45 +00:00
Chris Lattner
08e12f1860 Testcase for PR116
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10034 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-16 21:47:01 +00:00
Chris Lattner
623f707bee Instcombine should promote this, and because it isn't, we are failing poolalloc tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 19:05:15 +00:00
Chris Lattner
c7f05ca2a3 This is not the instruction combiner's fault! No really!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9918 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 16:38:32 +00:00
Chris Lattner
9c9e9dfe6d Reduced testcase for PR 110
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9917 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 16:24:30 +00:00
Chris Lattner
1548c35a5e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-05 22:06:03 +00:00
Chris Lattner
9716eb7676 New testcase for the other side
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9714 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-05 01:05:22 +00:00
Chris Lattner
519c6965f5 Since we're in the neighborhood, test for the inverse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9710 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:49:53 +00:00
Chris Lattner
736cca670f Add a generalization of the previous case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9707 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:36:50 +00:00
Chris Lattner
f61641f7d4 New testcase for masking operation that frequently occurs in the pool allocator
for converting a number that is a power of two into a mask


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9706 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-04 23:21:22 +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
ab13ae8c46 New testcase for a bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 18:33:44 +00:00
Chris Lattner
5fecdecda4 More testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9675 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:42:50 +00:00
Chris Lattner
4d3ba7397f Move a test from cast-set to a new bit-tracking.ll file. Update file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9674 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:30:34 +00:00
Chris Lattner
26f9c065a7 Add another case, which an implementation of test6 must be sure to handle
correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9672 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 05:08:53 +00:00
Chris Lattner
40cfd9ea41 Add the testcase from PR8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 03:52:34 +00:00
Chris Lattner
a5c5666d48 Add another case, which occurs in em3d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03 03:51:26 +00:00
Chris Lattner
fc424c39de Add test for instcombine transmogrifying allocation instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9653 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-02 05:56:58 +00:00
Chris Lattner
1758d4d863 New testcase crashing the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-30 00:39:25 +00:00
Chris Lattner
06f6230121 New testcase distilled from:
UnitTests/2003-10-29-ScalarReplBug.c


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9584 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 16:24:10 +00:00
Chris Lattner
851e07490c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9578 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29 05:51:03 +00:00
Chris Lattner
5bf9ce9a3a New testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 05:13:47 +00:00
Chris Lattner
5139f2b549 Update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:01:03 +00:00
Chris Lattner
599dcb07f7 document real source of bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 16:00:59 +00:00
Chris Lattner
0655845a4a fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9409 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:57:45 +00:00
Chris Lattner
de08597fe6 Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 15:51:55 +00:00
Chris Lattner
5e845c5444 A new testcase for an instcombine miscompilation!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-23 05:10:53 +00:00
Chris Lattner
de0dcc3593 New testcase for the deadreturnvalue deletion extension to -deadargelim
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9389 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 22:33:59 +00:00
Chris Lattner
f4e643ffe0 New testcase for fun hack that is absolutely necessary for the C++ stdlib.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9362 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-22 03:35:18 +00:00
Chris Lattner
4b611631bc New testcase: globals should be linked if they are the wrong type. We should
just moan loudly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9358 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 23:17:45 +00:00
Chris Lattner
48c9cb6fd7 This was not a lower-switch bug, it was a preselection bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9340 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 18:02:17 +00:00
Misha Brukman
648cbd9804 Only fails on the Sparc, only when run via the JIT.
And yet, it's a failure in the ``LowerSwitch'' pass.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9315 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 04:13:37 +00:00
Chris Lattner
ebb3acc31d New testcase which the inliner breaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9108 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-14 01:04:12 +00:00
Chris Lattner
c00d23a727 make the indvar obviously non-canonical
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9070 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-13 03:31:42 +00:00
Chris Lattner
5fdd902b55 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9064 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 22:26:42 +00:00
Chris Lattner
9989a4e2a1 Files moved to the LoopSimplify directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9062 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 21:57:11 +00:00
Chris Lattner
915403f065 The -preheaders pass is now known as -loopsimplify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9057 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-12 21:42:35 +00:00
Chris Lattner
b3c495f675 new testcase. globaldce should not delete the global
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8999 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10 04:54:23 +00:00
Chris Lattner
ecfecfe114 old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8967 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 18:28:10 +00:00
Chris Lattner
b8d3fd0390 Checkin an old bug, which appears to be fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-08 18:26:10 +00:00
Chris Lattner
d1c5ea1071 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07 22:53:46 +00:00
Chris Lattner
5b15deedc0 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8882 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-05 21:11:57 +00:00
John Criswell
4797826e17 Changed all of these tests to be TestRunner tests (or, at least they can be
TestRunner tests).
This makes creating the new test database class easier to implement.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8841 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-03 18:42:25 +00:00
Chris Lattner
ad5727d173 Add new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8816 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-02 15:11:09 +00:00
John Criswell
acdadf059d Updated for the new QMTest test suite. Temporary output file is now placed
inside the temporary file directory.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8744 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-29 21:21:59 +00:00
Chris Lattner
e1a37cba9c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8688 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-23 20:26:38 +00:00
Chris Lattner
4611f729c5 new testcase, reduced by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8665 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-22 22:22:41 +00:00
Chris Lattner
21c6158d83 new testcase which crashes the inliner, thanks Bugpoint!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8663 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-22 21:58:46 +00:00
Chris Lattner
e420056842 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8617 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-20 05:02:54 +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
Chris Lattner
0daee350cf Two new tests for shifts followed by ands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8606 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-19 19:04:43 +00:00