1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
Commit Graph

2382 Commits

Author SHA1 Message Date
Owen Anderson
0aa48d0522 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
9e2a2dfb2d initial support for branches
llvm-svn: 29854
2006-08-24 13:45:55 +00:00
Rafael Espindola
4b2cedb933 run llc with -march=arm in select.ll
llvm-svn: 29821
2006-08-22 16:19:54 +00:00
Chris Lattner
b49a46cc66 This passes.
llvm-svn: 29813
2006-08-22 06:43:24 +00:00
Reid Spencer
b2b6c561f6 Use the correct syntax.
Note to self: test before committing things!

llvm-svn: 29810
2006-08-22 05:40:51 +00:00
Reid Spencer
1e2be093a5 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
eaa5886483 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
474f6c5bf1 initial support for select
llvm-svn: 29802
2006-08-21 22:00:32 +00:00
Bill Wendling
33d04dd115 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
8245e5bde1 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
9c89e09297 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
ff879761c1 add a "load effective address"
llvm-svn: 29748
2006-08-17 17:09:40 +00:00
Evan Cheng
474e530383 Another cyclic dag test case.
llvm-svn: 29742
2006-08-17 00:00:46 +00:00
Chris Lattner
3630dfc3c4 New testcase
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner
fde089b9ff new testcase from PR877
llvm-svn: 29672
2006-08-14 21:37:32 +00:00
Rafael Espindola
48bed9023d select code like
ldr rx, [ry, #offset]

llvm-svn: 29664
2006-08-14 19:01:24 +00:00
Chris Lattner
a227388ba0 New testcase, this used to take hours to loopsimplify.
llvm-svn: 29646
2006-08-12 05:23:27 +00:00
Chris Lattner
c18c59e272 New testcase
llvm-svn: 29606
2006-08-11 16:46:38 +00:00
Rafael Espindola
f0b265b48b fix the spill code
llvm-svn: 29583
2006-08-09 16:41:12 +00:00
Rafael Espindola
7bfbb91f75 initial support for variable number of arguments
llvm-svn: 29567
2006-08-08 13:02:29 +00:00
Evan Cheng
443ccaa0b3 New test case.
llvm-svn: 29558
2006-08-07 23:58:47 +00:00
Chris Lattner
af5d449730 converge on the right number of %'s :)
llvm-svn: 29527
2006-08-04 18:09:27 +00:00
Reid Spencer
f7a2abc102 Use the %llvm-gcc% variable to find llvm-gcc for those of us that don't
have it in our path and to ensure it uses the configured llvm-gcc not just
any one randomly placed in the path.

llvm-svn: 29522
2006-08-04 17:35:18 +00:00
Rafael Espindola
bd29d36be4 use a 'register pressure reducing' scheduler
make sure only one move is used in a hello world

llvm-svn: 29520
2006-08-04 12:48:42 +00:00
Chris Lattner
0b3b64730c new testcase for pr867
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Jim Laskey
b58da4d2f8 Applying for all.
llvm-svn: 29512
2006-08-03 20:56:35 +00:00
Jim Laskey
2a449667b4 Make all the schedulers continue to work.
llvm-svn: 29510
2006-08-03 20:49:29 +00:00
Chris Lattner
f23f398729 New testcase for PR850.
llvm-svn: 29419
2006-07-31 23:25:17 +00:00
Chris Lattner
db30b8ea63 testcase for PR854.
llvm-svn: 29412
2006-07-31 17:31:48 +00:00
Chris Lattner
0cccbbaf5b Testcase for GCC bug28417, ensuring that we don't start getting it wrong
somehow.

llvm-svn: 29410
2006-07-30 17:46:37 +00:00
Chris Lattner
a7ee908421 New testcase for PR853
llvm-svn: 29407
2006-07-29 01:50:53 +00:00
Chris Lattner
8e317716ee allow this to pass on non-x86 machines
llvm-svn: 29303
2006-07-26 20:44:24 +00:00
Chris Lattner
34ff5a1684 Don't test an example
llvm-svn: 29301
2006-07-26 20:33:20 +00:00
Rafael Espindola
2919d4ce24 implement function calling of functions with up to 4 arguments
llvm-svn: 29274
2006-07-25 20:17:20 +00:00
Evan Cheng
f47b0d7853 XFAIL for now.
llvm-svn: 29272
2006-07-24 07:37:33 +00:00
Evan Cheng
5e2472d223 New vector shuffle test case.
llvm-svn: 29237
2006-07-20 23:51:01 +00:00
Evan Cheng
a57cdfb9a0 Fix a broken test.
llvm-svn: 29236
2006-07-20 23:50:13 +00:00
Chris Lattner
c4a5448546 New testcase for PR833
llvm-svn: 29225
2006-07-20 19:04:36 +00:00
Chris Lattner
052180076e new testcase
llvm-svn: 29207
2006-07-19 17:14:23 +00:00
Jim Laskey
2eaf83b69c Regression test for PR834.
llvm-svn: 29206
2006-07-19 16:37:15 +00:00
Chris Lattner
41c673c27a testcase for PR827
llvm-svn: 29119
2006-07-12 18:27:13 +00:00
Chris Lattner
6c1cbeb9bc Testcase for PR828.
llvm-svn: 29117
2006-07-12 16:59:09 +00:00
Evan Cheng
fd45f3f421 Fix test failure on non-Apple systems.
llvm-svn: 29116
2006-07-12 06:48:47 +00:00
Chris Lattner
729199a9c0 Testcase for PR826
llvm-svn: 29111
2006-07-11 20:29:21 +00:00
Chris Lattner
817d067973 New testcase for PR825.
llvm-svn: 29100
2006-07-11 02:52:37 +00:00
Chris Lattner
0c69615340 This is fixed
llvm-svn: 29098
2006-07-11 01:39:30 +00:00
Evan Cheng
52cc456236 Update.
llvm-svn: 29092
2006-07-10 21:49:09 +00:00
Chris Lattner
22f3e54a15 New testcase for folding bswaps into i16/i32 loads and stores.
llvm-svn: 29088
2006-07-10 20:53:53 +00:00
Chris Lattner
96b010ecb2 Add tests for 16-bit byteswaps.
llvm-svn: 29086
2006-07-10 20:25:01 +00:00
Owen Anderson
fed248a933 Add a test for the LCSSA issue I just fixed.
llvm-svn: 29077
2006-07-09 08:17:30 +00:00