Chris Lattner
4d377fec3b
new testcase
...
llvm-svn: 31283
2006-10-29 21:20:56 +00:00
Chris Lattner
51e9632ea5
new testcase for PR957
...
llvm-svn: 31060
2006-10-20 00:41:31 +00:00
Chris Lattner
64de8fb7e8
new testcase for pr867
...
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Chris Lattner
9c4ddf8314
TEstcase that makes simplifycfg infloop.
...
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Tanya Lattner
27fba1761d
Added the ability to xfail based on llvmgcc version
...
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Reid Spencer
edde6be3d8
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".
llvm-svn: 27009
2006-03-23 23:41:57 +00:00
Chris Lattner
88b8e3bb71
new testcase that crashes simplifycfg
...
llvm-svn: 26274
2006-02-18 00:32:44 +00:00
Chris Lattner
3339c6a1f6
expand testcase, which has been in my tree for a while now
...
llvm-svn: 24582
2005-12-03 18:26:41 +00:00
Chris Lattner
2492b74330
new testcase, miscompiled by simplifycfg. This has been distilled from Ptrdist/bc
...
llvm-svn: 24580
2005-12-03 18:25:32 +00:00
Chris Lattner
a6e98f2e85
new testcase for PR635
...
llvm-svn: 23615
2005-10-03 23:42:54 +00:00
Chris Lattner
62f565d198
new testcase
...
llvm-svn: 23409
2005-09-23 18:43:57 +00:00
Chris Lattner
cb6d8173d2
make this test harder: add a case where instructions are in the bb to be
...
threaded over
llvm-svn: 23396
2005-09-20 01:43:41 +00:00
Chris Lattner
168d2e5343
new testcase
...
llvm-svn: 23394
2005-09-20 00:41:55 +00:00
Chris Lattner
b2a9e8115b
new testcase.
...
llvm-svn: 23390
2005-09-19 23:48:04 +00:00
Chris Lattner
0ca5d9cb12
Testcase that used to crash simplifycfg
...
llvm-svn: 22622
2005-08-03 18:01:07 +00:00
Chris Lattner
42b635c70c
un-xfail this
...
llvm-svn: 22614
2005-08-03 00:58:44 +00:00
Chris Lattner
e972403215
This fails for now
...
llvm-svn: 22608
2005-08-03 00:10:28 +00:00
Chris Lattner
8530d6d0af
New testcase that caused simplifycfg to crash
...
llvm-svn: 22583
2005-08-02 03:23:03 +00:00
Chris Lattner
29ae6f6ed9
new testcase for PR584
...
llvm-svn: 22231
2005-06-17 01:45:03 +00:00
Chris Lattner
7e9e2e0ea9
New testcase that crashes simplifycfg, identified accidentally by JohnMC
...
llvm-svn: 22157
2005-05-20 22:19:34 +00:00
Chris Lattner
763a9e8c9b
testcase I've had in my tree
...
llvm-svn: 21832
2005-05-09 21:21:10 +00:00
Chris Lattner
c0968c72ff
new testcase for a simple optimization that simplifycfg is about to do.
...
All CFG edges to DEAD should be eliminated.
llvm-svn: 20299
2005-02-24 06:15:27 +00:00
Chris Lattner
272f3527a3
add another testcase to make sure it gets turned into a switch (answer: yes it does)
...
llvm-svn: 20291
2005-02-24 02:13:50 +00:00
Chris Lattner
21adf7d36e
Add new test to make sure simplifycfg doesn't leave around trivially
...
dead instructions.
llvm-svn: 19211
2005-01-01 16:00:56 +00:00
Chris Lattner
f13b7ee8aa
Check in the right test
...
llvm-svn: 18767
2004-12-10 17:43:43 +00:00
Chris Lattner
88bd77c73d
New testcase for a bug exposed by the ipsccp pass, causing dparser to fail
...
last night.
llvm-svn: 18765
2004-12-10 17:41:43 +00:00
Chris Lattner
889e91d58d
New testcase for simplifycfg
...
llvm-svn: 18367
2004-11-30 00:31:16 +00:00
Tanya Lattner
f1e4bf5b66
Adding srcdir arg
...
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Tanya Lattner
4afaf40a28
Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
...
llvm-svn: 17712
2004-11-13 23:00:45 +00:00
Chris Lattner
033e156b54
New testcase
...
llvm-svn: 17115
2004-10-18 04:06:41 +00:00
Chris Lattner
6299141c4e
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.
llvm-svn: 16972
2004-10-14 05:12:50 +00:00
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