Chris Lattner
e24003a261
Add a new testcase for X/-1, fix bug that prevented tests from running right
...
llvm-svn: 13171
2004-04-26 14:01:47 +00:00
Chris Lattner
40123bff5b
New testcase, distilled from PR324
...
llvm-svn: 13079
2004-04-20 20:15:01 +00:00
Chris Lattner
ceea37590f
New testcase
...
llvm-svn: 13067
2004-04-19 18:06:34 +00:00
Chris Lattner
3796974563
Another testcase
...
llvm-svn: 13037
2004-04-18 06:55:57 +00:00
Chris Lattner
bc4118f316
New testcase
...
llvm-svn: 13020
2004-04-17 23:00:51 +00:00
Chris Lattner
fbc88b6cbd
New testcase that Brian provided which crashes the inliner
...
llvm-svn: 12969
2004-04-15 20:45:45 +00:00
Chris Lattner
9d42084081
New testcase
...
llvm-svn: 12920
2004-04-13 19:43:33 +00:00
Chris Lattner
e3debac3cd
New testcase
...
llvm-svn: 12916
2004-04-13 19:28:09 +00:00
Chris Lattner
a7aeb506dd
New testcase where loop simplify is not updating domfrontiers correctly
...
llvm-svn: 12889
2004-04-13 16:22:04 +00:00
Chris Lattner
176b4c2439
new testcase
...
llvm-svn: 12873
2004-04-12 20:59:07 +00:00
Chris Lattner
74e5c31746
new testcase
...
llvm-svn: 12832
2004-04-11 16:47:15 +00:00
Chris Lattner
1f99df6d27
New testcases
...
llvm-svn: 12820
2004-04-10 22:21:14 +00:00
Chris Lattner
825a00195d
New testcase
...
llvm-svn: 12818
2004-04-10 22:01:27 +00:00
Chris Lattner
56471868e2
New testcases
...
llvm-svn: 12806
2004-04-10 06:52:20 +00:00
Chris Lattner
d777677665
Simplify cfg now eliminates all of the branches in this testcase
...
llvm-svn: 12803
2004-04-09 23:50:29 +00:00
Chris Lattner
e4ad3e599b
Another testcase
...
llvm-svn: 12802
2004-04-09 23:47:52 +00:00
Chris Lattner
24cd6b9371
Testcase to make sure we can apply the shift to the operands of the select,
...
eliminating the shifts
llvm-svn: 12801
2004-04-09 23:47:24 +00:00
Chris Lattner
be68fd036b
Add testcases for harder combining cases.
...
llvm-svn: 12799
2004-04-09 23:43:48 +00:00
Chris Lattner
755cab25ae
new testcase
...
llvm-svn: 12792
2004-04-09 18:19:29 +00:00
Chris Lattner
22b2166b36
New testcase
...
llvm-svn: 12783
2004-04-08 20:39:40 +00:00
Chris Lattner
3b613818f6
New testcase, corresponding to phi_promote.ll
...
llvm-svn: 12778
2004-04-08 19:59:22 +00:00
Chris Lattner
ac42fd5912
Add some more cases we should combine
...
llvm-svn: 12768
2004-04-08 04:43:04 +00:00
Chris Lattner
dadf78d933
New testcase
...
llvm-svn: 12761
2004-04-07 18:38:01 +00:00
Chris Lattner
13de334a4e
New testcase that crashed scalarevolution on sparc
...
llvm-svn: 12755
2004-04-07 16:17:45 +00:00
Chris Lattner
6f4fea937b
New testcase for PR312
...
llvm-svn: 12667
2004-04-05 18:46:33 +00:00
Chris Lattner
e79fd5c766
New testcase that crashes the instcombine pass. Dominance properties have
...
no meaning if the code is not reachable.
llvm-svn: 12657
2004-04-05 02:01:32 +00:00
Chris Lattner
d8d803adb9
new testcase
...
llvm-svn: 12624
2004-04-02 20:27:47 +00:00
Chris Lattner
76378746c5
New testcases for the indvars pass
...
llvm-svn: 12622
2004-04-02 20:26:04 +00:00
Chris Lattner
2c416ae11f
Tweak testcase to work with new indvars pass
...
llvm-svn: 12621
2004-04-02 20:25:26 +00:00
Chris Lattner
99c9b9c02f
New testcase
...
llvm-svn: 12616
2004-04-02 18:12:49 +00:00
Chris Lattner
914a7d0d90
New testcase for PR310
...
llvm-svn: 12596
2004-04-01 20:28:35 +00:00
Chris Lattner
f475a12626
New testcase for PR306
...
llvm-svn: 12591
2004-04-01 19:05:54 +00:00
Chris Lattner
f17d2d33fb
Oops, actually USE the previously computed value
...
llvm-svn: 12547
2004-03-30 19:45:39 +00:00
Chris Lattner
fdf3202d69
Test general value/value selection which we can do now that we use the
...
select instruction
llvm-svn: 12546
2004-03-30 19:45:11 +00:00
Chris Lattner
b785d280ec
Add some testcases for select simplification
...
llvm-svn: 12543
2004-03-30 19:36:54 +00:00
Chris Lattner
3932cab427
New testcase
...
llvm-svn: 12518
2004-03-25 22:59:06 +00:00
Chris Lattner
597f1da506
New testcase, the optimizer can delete zero sized allocas
...
llvm-svn: 12506
2004-03-19 06:07:43 +00:00
Chris Lattner
211ae0bf05
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.
llvm-svn: 12495
2004-03-18 06:41:59 +00:00
Chris Lattner
2bcfcc90c8
New testcase, reduced from 256.bzip2
...
llvm-svn: 12492
2004-03-18 05:55:29 +00:00
Chris Lattner
4c7fcbf77b
New testcase
...
llvm-svn: 12488
2004-03-18 05:33:39 +00:00
Chris Lattner
b7b099d569
New testcase that crashes the code extractor
...
llvm-svn: 12485
2004-03-18 04:10:02 +00:00
John Criswell
d064f2124e
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).
llvm-svn: 12466
2004-03-17 02:31:29 +00:00
Chris Lattner
0e64dda7ca
Another simple testcase
...
llvm-svn: 12455
2004-03-16 23:07:52 +00:00
Chris Lattner
618c3990c7
Fix test
...
llvm-svn: 12445
2004-03-16 21:10:15 +00:00
Chris Lattner
767858af43
New testcase for PR293
...
llvm-svn: 12433
2004-03-16 05:44:02 +00:00
Chris Lattner
2c8efdb348
New testcase for CSE of call instructions
...
llvm-svn: 12418
2004-03-15 05:44:29 +00:00
Chris Lattner
ecdbee5542
Make sure that pure calls don't kill loads
...
llvm-svn: 12416
2004-03-15 04:17:53 +00:00
Chris Lattner
fb5d561193
New testcases to test LICM of call instructions
...
llvm-svn: 12414
2004-03-15 04:10:08 +00:00
Chris Lattner
fec74e7ce2
New testcase that causes the code extractor to generate bogus code.
...
llvm-svn: 12404
2004-03-15 00:08:49 +00:00
Chris Lattner
99e9b17641
New testcase that crashes the loop extractor
...
llvm-svn: 12399
2004-03-14 22:16:52 +00:00
Chris Lattner
e7ae4a8cb4
New testcase that crashes the -lowerswitch pass
...
llvm-svn: 12383
2004-03-14 04:13:57 +00:00
Chris Lattner
d828ad5089
New testcase that crashes the loop extractor
...
llvm-svn: 12376
2004-03-14 03:03:59 +00:00
Chris Lattner
e561cb51de
New testcase, distilled from povray I think.
...
llvm-svn: 12364
2004-03-13 23:53:04 +00:00
Chris Lattner
d689a5eb9c
Oh right, casts can interfere. Test this too
...
llvm-svn: 12354
2004-03-13 00:11:38 +00:00
Chris Lattner
b4e933ba14
new testcases
...
llvm-svn: 12352
2004-03-12 23:52:51 +00:00
Chris Lattner
1f91c54600
new testcase
...
llvm-svn: 12348
2004-03-12 22:38:31 +00:00
Chris Lattner
fd747f8db8
test instruction combiner opts for select instruction
...
llvm-svn: 12328
2004-03-12 06:01:00 +00:00
Chris Lattner
6fdbd60ed6
New testcase for PR284: [indvars] Induction variable analysis violates LLVM invariants
...
llvm-svn: 12274
2004-03-10 21:41:47 +00:00
Chris Lattner
1f7f22c42c
New testcase
...
llvm-svn: 12201
2004-03-08 00:58:19 +00:00
Chris Lattner
332a8bdf31
New testcase for missed case
...
llvm-svn: 12199
2004-03-07 22:52:41 +00:00
Chris Lattner
f2b8692b73
New testcase
...
llvm-svn: 12192
2004-03-07 21:28:54 +00:00
Chris Lattner
9c9a4c4abd
Testcase for a bug that caused a whole bunch of testcases to die in the nightly
...
tester last night.
llvm-svn: 12011
2004-02-29 22:15:51 +00:00
Chris Lattner
c116ede471
Add a testcase for switch instruction induction
...
llvm-svn: 11965
2004-02-28 21:30:39 +00:00
Chris Lattner
eff5f51807
new testcase for intrinsic folding
...
llvm-svn: 11943
2004-02-28 05:28:42 +00:00
Chris Lattner
b66f42427a
The instruction combining pass removes dead instructions, there is no need
...
to run the die pass after it.
llvm-svn: 11942
2004-02-28 05:26:06 +00:00
Misha Brukman
be74d5f73a
Two testcases for loops: one with outputs, one without.
...
llvm-svn: 11934
2004-02-28 03:20:41 +00:00
Chris Lattner
d58a88b28d
The instcombiner should canonicalize comparisons.
...
llvm-svn: 11899
2004-02-27 06:27:07 +00:00
Chris Lattner
fe7a92fe7c
New testcase. Switch instructions that go to switch instructions should be
...
merged.
llvm-svn: 11796
2004-02-24 07:21:09 +00:00
Chris Lattner
ae509325d6
The simplifycfg pass should be able to turn stuff like:
...
if (X == 4 || X == 7)
and
if (X != 4 && X != 7)
into switch instructions.
llvm-svn: 11791
2004-02-24 05:34:44 +00:00
Chris Lattner
7eaa535d4d
Test for the other way also
...
llvm-svn: 11767
2004-02-23 20:24:16 +00:00
Chris Lattner
1cc1217121
New testcase
...
llvm-svn: 11766
2004-02-23 20:19:51 +00:00
Chris Lattner
be9082a63d
Add tests for casts that should be eliminated
...
llvm-svn: 11741
2004-02-23 07:16:03 +00:00
Chris Lattner
6ddaa24dd9
Handle the unsigned form as well
...
llvm-svn: 11739
2004-02-23 06:37:33 +00:00
Chris Lattner
fb302df02c
Add a slight variant of test10
...
llvm-svn: 11736
2004-02-23 05:59:52 +00:00
Chris Lattner
d0ffbe1cbe
This multiply can be eliminated
...
llvm-svn: 11733
2004-02-23 05:38:47 +00:00
Chris Lattner
9c08d09de6
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.
llvm-svn: 11701
2004-02-22 05:24:09 +00:00
Chris Lattner
58d4db3f27
New testcase, details in the comments
...
llvm-svn: 11495
2004-02-16 06:35:19 +00:00
Chris Lattner
e9613be389
A new testcase for a situation that occurs in 181.mcf
...
llvm-svn: 11493
2004-02-16 05:06:36 +00:00
Chris Lattner
98c26a7842
Add a test for the "swap idiom", which LLVM should be able to unravel.
...
llvm-svn: 11491
2004-02-16 03:53:44 +00:00
Chris Lattner
5c063c9348
Test for xor chains
...
llvm-svn: 11489
2004-02-16 01:19:52 +00:00
Chris Lattner
d5bab7e727
Basic functionality testing.
...
llvm-svn: 11312
2004-02-11 05:00:27 +00:00
Chris Lattner
4379c6b0b7
New feature testcase for simplifycfg.
...
llvm-svn: 11306
2004-02-11 03:35:04 +00:00
Chris Lattner
eba3c36f99
New testcase for PR223: Loopsimplify incorrectly updates dominator information
...
llvm-svn: 11136
2004-02-05 21:11:38 +00:00
Chris Lattner
a96066186e
New testcase for better mod/ref information that basicaa can provide
...
llvm-svn: 11023
2004-01-30 22:18:47 +00:00
Chris Lattner
062f3ddaf5
new testcase
...
llvm-svn: 10843
2004-01-14 05:53:11 +00:00
Chris Lattner
2ca9b10b6a
Test to make sure we can SCCP load instructions
...
llvm-svn: 10766
2004-01-12 04:28:32 +00:00
Chris Lattner
4d1bb94c3e
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.
llvm-svn: 10762
2004-01-12 03:57:00 +00:00
Chris Lattner
22c7a36cdc
New testcase
...
llvm-svn: 10760
2004-01-12 01:17:42 +00:00
Chris Lattner
f1277450ab
new testcase for cananonicalization of subtracts
...
llvm-svn: 10581
2003-12-22 05:24:45 +00:00
Chris Lattner
a5e3418d98
New testcase to see if -indvars can promote pointer arithmetic to array accesses
...
llvm-svn: 10577
2003-12-22 05:00:13 +00:00
Chris Lattner
7b432f77ac
New testcase for PR194
...
llvm-svn: 10568
2003-12-21 19:06:15 +00:00
Chris Lattner
b141a2aca6
New testcase for missed optimization
...
llvm-svn: 10538
2003-12-19 09:08:15 +00:00
Chris Lattner
a2d66a5ada
New testcase
...
llvm-svn: 10533
2003-12-19 06:54:37 +00:00
Chris Lattner
98c265a382
New testcase, for PR185
...
llvm-svn: 10471
2003-12-15 17:33:41 +00:00
Chris Lattner
0fcc74f1df
new test
...
llvm-svn: 10466
2003-12-14 23:39:34 +00:00
Chris Lattner
29da20f96c
Testcase for PR179
...
llvm-svn: 10455
2003-12-14 04:46:07 +00:00
Chris Lattner
ace41617c7
Rename variable to avoid confusing it with the global G
...
llvm-svn: 10411
2003-12-11 22:49:32 +00:00
Chris Lattner
99146bb2a7
New testcase that LICM is breaking crafty on
...
llvm-svn: 10408
2003-12-11 22:15:11 +00:00
Chris Lattner
15b2e377ae
Fix test that was failing because we were optimizing the program better than expected :)
...
llvm-svn: 10404
2003-12-11 21:06:43 +00:00
Chris Lattner
659a500e57
New testcase for PR86
...
llvm-svn: 10403
2003-12-11 19:16:30 +00:00