Commit Graph

2792 Commits

Author SHA1 Message Date
Evan Cheng 8a29d206c2 New test case.
llvm-svn: 30179
2006-09-08 07:24:20 +00:00
Evan Cheng 5988288494 Add a new test case for 'undef' shuffles.
llvm-svn: 30172
2006-09-08 01:54:32 +00:00
Chris Lattner dc22b97b9a new testcase
llvm-svn: 30157
2006-09-07 21:29:32 +00:00
Chris Lattner f9ed9f60ef This fails
llvm-svn: 30148
2006-09-07 17:43:59 +00:00
Chris Lattner 6a7b824ded New testcase for a switch lowering bug.
llvm-svn: 30141
2006-09-07 01:59:05 +00:00
Chris Lattner 0b5fb52b0e testcase, ensure this never breaks.
llvm-svn: 30137
2006-09-06 21:54:59 +00:00
Chris Lattner 65df0ffadd make this harder
llvm-svn: 30120
2006-09-05 20:27:06 +00:00
Rafael Espindola 8386105f3f add support for returning 64bit values
llvm-svn: 30103
2006-09-04 19:05:01 +00:00
Rafael Espindola 5328ba96e1 add the SETULT condition code
llvm-svn: 30067
2006-09-03 13:19:16 +00:00
Chris Lattner 798e9658d7 Testcase (distilled from crafty) that crashed the local RA on X86.
llvm-svn: 30063
2006-09-03 07:14:47 +00:00
Owen Anderson bcb301c4a2 Make this testcase actually recursive. I accidentally committed the wrong copy last time.
llvm-svn: 30059
2006-09-02 22:46:58 +00:00
Owen Anderson 19b80e76df Make ArgumentPromotion handle recursive functions that pass pointers in their recursive calls.
llvm-svn: 30057
2006-09-02 21:19:44 +00:00
Rafael Espindola c585b6919b add more condition codes
llvm-svn: 30056
2006-09-02 20:24:25 +00:00
Nick Lewycky 8e5599354a Improve handling of SelectInst.
Reorder operations to remove duplicated work.
Fix to leave floating-point types out of the optimization.
Add tests to predsimplify.ll for SwitchInst and SelectInst handling.

llvm-svn: 30055
2006-09-02 19:40:38 +00:00
Evan Cheng 1f15185cbc Another "cyclic DAG" test case.
llvm-svn: 30043
2006-09-01 23:50:17 +00:00
Chris Lattner 315f02a6e5 Make this harder
llvm-svn: 30036
2006-09-01 22:07:00 +00:00
Chris Lattner 4b975e8eea simple multiclass example
llvm-svn: 30028
2006-09-01 21:14:37 +00:00
Nick Lewycky a24fdaea0b This program crashes the PredicateSimplifier. Not marked XFAIL because
the PredicateSimplifier is skipped in make check anyways.

llvm-svn: 29992
2006-08-31 03:13:05 +00:00
Chris Lattner f5da261701 Bugfix for recent coallescer crash
llvm-svn: 29990
2006-08-30 23:03:35 +00:00
Chris Lattner faa6355510 new testcase for pr687
llvm-svn: 29967
2006-08-29 23:09:59 +00:00
Evan Cheng 8dd79a4c14 This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.
llvm-svn: 29964
2006-08-29 22:01:39 +00:00
Evan Cheng 65c4409e63 Fix test case so it passes on x86-64.
llvm-svn: 29963
2006-08-29 21:49:58 +00:00
Evan Cheng abb02a35cf Undo xfail.
llvm-svn: 29958
2006-08-29 18:49:41 +00:00
Nick Lewycky b2e8ae1700 Add PredicateSimplifier pass. Collapses equal variables into one form
and simplifies expressions. This implements the optimization described
in PR807.

llvm-svn: 29947
2006-08-28 22:44:55 +00:00
Chris Lattner ac23219233 Update tests now that opt no longer reads .ll files
llvm-svn: 29927
2006-08-27 22:47:14 +00:00
Chris Lattner 358fe85ab4 Adjust tests now that opt doesn't read .ll files.
llvm-svn: 29926
2006-08-27 22:44:20 +00:00
Chris Lattner c7cff24f40 opt no longer reads .ll files. Run llvm-as explicitly.
llvm-svn: 29924
2006-08-27 22:41:58 +00:00
Chris Lattner 77443b7dc0 Move this test from Codegen/PowerPC to CodeGen/Generic. It fails on ia64,
but that's not the ppc backend's fault.

llvm-svn: 29914
2006-08-27 20:52:00 +00:00
Evan Cheng f0b7f06b63 Improved codegen due to Chris' live interval joining changes.
llvm-svn: 29899
2006-08-26 07:38:36 +00:00
Rafael Espindola 9a173c937a test case for varargs functions
llvm-svn: 29877
2006-08-25 17:57:36 +00:00
Owen Anderson e001d811ba Implement unrolling of multiblock loops. This significantly improves the
utility of the LoopUnroll pass.

Also, add a testcase for multiblock-loop unrolling.

llvm-svn: 29859
2006-08-24 21:28:19 +00:00
Rafael Espindola e08b9853cc initial support for branches
llvm-svn: 29854
2006-08-24 13:45:55 +00:00
Rafael Espindola 7930e898b2 run llc with -march=arm in select.ll
llvm-svn: 29821
2006-08-22 16:19:54 +00:00
Chris Lattner 3b944e97af This passes.
llvm-svn: 29813
2006-08-22 06:43:24 +00:00
Reid Spencer f69a17123b Use the correct syntax.
Note to self: test before committing things!

llvm-svn: 29810
2006-08-22 05:40:51 +00:00
Reid Spencer cc2c12feef Add a simple RUN line so this doesn't always fail. XFAIL this until
Rafael can get a chance to fix it.

llvm-svn: 29809
2006-08-22 05:37:43 +00:00
Bill Wendling 568dca96c9 Modified the RUN line from "analyze ..." to "opt -analyze ..." because
Reid removed the analyze tool and incorporated it into the opt tool.

llvm-svn: 29807
2006-08-22 04:37:51 +00:00
Rafael Espindola d0dee77718 initial support for select
llvm-svn: 29802
2006-08-21 22:00:32 +00:00
Bill Wendling 04f2246400 Added a check so that if we have two machine instructions in this form
MOV R0, R1
    MOV R1, R0

the second machine instruction is removed. Added a regression test.

llvm-svn: 29792
2006-08-21 07:33:33 +00:00
Reid Spencer 378f7d5d20 For PR872:
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included
most of the analysis passes.  To get the old analyze functionality pass
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further
integration such as removing the distinction between transform passes
and analysis passes.

To use the analysis functionality, if you previously did this:
  analyze $FNAME -domset -disable-verify
you would now do this:
  opt -analyze $FNAME -domset -disable-verify
Pretty simple.

llvm-svn: 29762
2006-08-18 06:34:30 +00:00
Chris Lattner ac2610a94a Temporarily xfail this test, evan will look at it in a week or so.
llvm-svn: 29760
2006-08-18 00:18:38 +00:00
Rafael Espindola c3ed77e1b9 add a "load effective address"
llvm-svn: 29748
2006-08-17 17:09:40 +00:00
Evan Cheng 0742d58864 Another cyclic dag test case.
llvm-svn: 29742
2006-08-17 00:00:46 +00:00
Chris Lattner 75b5713bc8 New testcase
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner c5bbda70e3 new testcase from PR877
llvm-svn: 29672
2006-08-14 21:37:32 +00:00
Rafael Espindola 157971b04a select code like
ldr rx, [ry, #offset]

llvm-svn: 29664
2006-08-14 19:01:24 +00:00
Chris Lattner 54faca1d70 New testcase, this used to take hours to loopsimplify.
llvm-svn: 29646
2006-08-12 05:23:27 +00:00
Chris Lattner 25d0d5c9e0 New testcase
llvm-svn: 29606
2006-08-11 16:46:38 +00:00
Rafael Espindola f5ce475540 fix the spill code
llvm-svn: 29583
2006-08-09 16:41:12 +00:00
Rafael Espindola 39083e7836 initial support for variable number of arguments
llvm-svn: 29567
2006-08-08 13:02:29 +00:00