Chris Lattner
d4cecb9e2f
test that unconditional branches to unwinds are always eliminated
...
llvm-svn: 15021
2004-07-20 01:17:19 +00:00
Chris Lattner
eee347209f
Fix testcase. For some reason this was failing only with a release build and
...
not with a debug build? Rather testrunner only caught it in that case.
llvm-svn: 14514
2004-07-01 04:09:14 +00:00
Chris Lattner
52a71340c1
Fix a test that was "broken" by new optimizations. The transformation we
...
are doing is certainly correct, its just that we didn't have the capability
to do it when the testcase was written (no select instr)
llvm-svn: 13799
2004-05-26 23:51:29 +00:00
Chris Lattner
c9b34e5648
New testcase:
...
Turn "if (A < B && B < C)" into "if (A < B & B < C)"
llvm-svn: 13310
2004-05-01 23:35:21 +00:00
Chris Lattner
380affdc88
New testcase for case that simplifycfg should catch
...
llvm-svn: 13305
2004-05-01 22:36:24 +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
99c9b9c02f
New testcase
...
llvm-svn: 12616
2004-04-02 18:12:49 +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
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
c116ede471
Add a testcase for switch instruction induction
...
llvm-svn: 11965
2004-02-28 21:30:39 +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
58d4db3f27
New testcase, details in the comments
...
llvm-svn: 11495
2004-02-16 06:35:19 +00:00
Chris Lattner
4379c6b0b7
New feature testcase for simplifycfg.
...
llvm-svn: 11306
2004-02-11 03:35:04 +00:00
Misha Brukman
edf4bab190
Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
...
llvm-svn: 8558
2003-09-16 15:29:54 +00:00
John Criswell
ea93bb4a9c
Removing Makefiles. Regression tests are now run by QMTest.
...
llvm-svn: 8548
2003-09-15 20:21:38 +00:00
Chris Lattner
94be300fa5
New testcase
...
llvm-svn: 8125
2003-08-24 17:58:24 +00:00
Chris Lattner
b42ef2dbdb
Add a new switch folding testcase
...
llvm-svn: 8092
2003-08-23 23:17:59 +00:00
Chris Lattner
26dc7b6224
New testcase to ensure that switch folding happens correctly
...
llvm-svn: 7922
2003-08-17 20:19:31 +00:00
Chris Lattner
05ed0396ec
New testcase
...
llvm-svn: 7920
2003-08-17 19:37:57 +00:00
Chris Lattner
2f3ef79496
New testcase
...
llvm-svn: 7918
2003-08-17 19:29:34 +00:00
Chris Lattner
cc88b0ad42
new testcases that simplifycfg breaks
...
llvm-svn: 7598
2003-08-05 16:11:36 +00:00
Chris Lattner
cd1d05ab33
Eliminate explicit control flow in tests
...
llvm-svn: 6961
2003-06-28 23:13:12 +00:00
Chris Lattner
587cc42836
New testcase
...
llvm-svn: 5721
2003-03-07 17:42:55 +00:00
Chris Lattner
9115973f47
Add new testcase
...
llvm-svn: 5701
2003-03-05 21:34:35 +00:00
Chris Lattner
25743e9cda
New testcase for feature simplifycfg should handle
...
llvm-svn: 5698
2003-03-05 20:35:24 +00:00
Chris Lattner
283dda16ab
Add testcase for new feature for simplifycfg pass
...
llvm-svn: 5697
2003-03-05 20:22:50 +00:00
Chris Lattner
4e6e0eda00
New feature test for something we have done for a long time
...
llvm-svn: 3914
2002-09-24 16:13:20 +00:00
Chris Lattner
710e9a5c65
New testcase that causes SimplifyCFG to assert out.
...
llvm-svn: 3912
2002-09-24 16:02:44 +00:00
Chris Lattner
2416144353
Hrm, testcase was checking the wrong pass. :(
...
llvm-svn: 3126
2002-07-29 21:12:20 +00:00
Chris Lattner
c917d106aa
Testcase for unimplemented feature
...
llvm-svn: 2766
2002-06-24 17:45:37 +00:00
Chris Lattner
317cb8d8c9
Update run line
...
llvm-svn: 2693
2002-05-21 19:33:17 +00:00
Chris Lattner
753dae6fff
This testcase was very broken! The block could not be merged because then
...
there would be a broken PHI node
llvm-svn: 2692
2002-05-21 19:32:58 +00:00
Chris Lattner
d29c9f9a5f
New testcase
...
llvm-svn: 2691
2002-05-21 19:22:10 +00:00
Chris Lattner
5fc509b008
Testcase for missed merge opportunity
...
llvm-svn: 2477
2002-05-06 03:11:32 +00:00
Chris Lattner
dac95a012b
Initial testcases for CFG simplify (which is part of DCE for now)
...
llvm-svn: 2466
2002-05-06 02:37:38 +00:00