1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
Commit Graph

70 Commits

Author SHA1 Message Date
Reid Spencer
43e145ce25 Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.

llvm-svn: 31896
2006-11-23 15:14:52 +00:00
Chris Lattner
af923f0720 converting massive blocks of phis into selects like this is silly.
llvm-svn: 31852
2006-11-18 19:17:52 +00:00
Chris Lattner
c93a6e8020 new testcase
llvm-svn: 31283
2006-10-29 21:20:56 +00:00
Chris Lattner
74b2337a26 new testcase for PR957
llvm-svn: 31060
2006-10-20 00:41:31 +00:00
Chris Lattner
0b3b64730c new testcase for pr867
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Chris Lattner
8e718346df TEstcase that makes simplifycfg infloop.
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Tanya Lattner
9cd1518d42 Added the ability to xfail based on llvmgcc version
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Reid Spencer
8f8c063f1c 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
7e722ae07c new testcase that crashes simplifycfg
llvm-svn: 26274
2006-02-18 00:32:44 +00:00
Chris Lattner
28c1c6a9ee 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
523b163d74 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
45773bd686 new testcase for PR635
llvm-svn: 23615
2005-10-03 23:42:54 +00:00
Chris Lattner
be57630463 new testcase
llvm-svn: 23409
2005-09-23 18:43:57 +00:00
Chris Lattner
e944688f8b 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
5ab7f9420a new testcase
llvm-svn: 23394
2005-09-20 00:41:55 +00:00
Chris Lattner
2e29152408 new testcase.
llvm-svn: 23390
2005-09-19 23:48:04 +00:00
Chris Lattner
ed6b5692c7 Testcase that used to crash simplifycfg
llvm-svn: 22622
2005-08-03 18:01:07 +00:00
Chris Lattner
a0cf824bef un-xfail this
llvm-svn: 22614
2005-08-03 00:58:44 +00:00
Chris Lattner
0bd6f5c29f This fails for now
llvm-svn: 22608
2005-08-03 00:10:28 +00:00
Chris Lattner
296e1735df New testcase that caused simplifycfg to crash
llvm-svn: 22583
2005-08-02 03:23:03 +00:00
Chris Lattner
53d776a6fd new testcase for PR584
llvm-svn: 22231
2005-06-17 01:45:03 +00:00
Chris Lattner
510fbb3959 New testcase that crashes simplifycfg, identified accidentally by JohnMC
llvm-svn: 22157
2005-05-20 22:19:34 +00:00
Chris Lattner
1693833459 testcase I've had in my tree
llvm-svn: 21832
2005-05-09 21:21:10 +00:00
Chris Lattner
ebc7c38765 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
2c71ee93c5 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
fcc2ae9a85 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
145e42631e Check in the right test
llvm-svn: 18767
2004-12-10 17:43:43 +00:00
Chris Lattner
a151d4f3ab 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
afdd71c622 New testcase for simplifycfg
llvm-svn: 18367
2004-11-30 00:31:16 +00:00
Tanya Lattner
bea68bc91a Adding srcdir arg
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Tanya Lattner
97976107e3 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
e058c78728 New testcase
llvm-svn: 17115
2004-10-18 04:06:41 +00:00
Chris Lattner
b1f34a989b 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
0a86aa9915 test that unconditional branches to unwinds are always eliminated
llvm-svn: 15021
2004-07-20 01:17:19 +00:00
Chris Lattner
3b2327c276 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
d745db9373 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
c8991cdae8 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
d4abdd9dc3 New testcase for case that simplifycfg should catch
llvm-svn: 13305
2004-05-01 22:36:24 +00:00
Chris Lattner
394f956177 Simplify cfg now eliminates all of the branches in this testcase
llvm-svn: 12803
2004-04-09 23:50:29 +00:00
Chris Lattner
872356f472 New testcase
llvm-svn: 12616
2004-04-02 18:12:49 +00:00
Chris Lattner
9527e2086b Oops, actually USE the previously computed value
llvm-svn: 12547
2004-03-30 19:45:39 +00:00
Chris Lattner
9289723307 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
8052feabf0 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
ece9d747f2 Add a testcase for switch instruction induction
llvm-svn: 11965
2004-02-28 21:30:39 +00:00
Chris Lattner
d75c0eef9f 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
90da2d674f 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
034c38dfd7 New testcase, details in the comments
llvm-svn: 11495
2004-02-16 06:35:19 +00:00
Chris Lattner
f2488237c1 New feature testcase for simplifycfg.
llvm-svn: 11306
2004-02-11 03:35:04 +00:00
Misha Brukman
563ba88392 Renamed as' => llvm-as', dis' => llvm-dis', link' => llvm-link'.
llvm-svn: 8558
2003-09-16 15:29:54 +00:00
John Criswell
5cbd25ea1d Removing Makefiles. Regression tests are now run by QMTest.
llvm-svn: 8548
2003-09-15 20:21:38 +00:00