1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

2814 Commits

Author SHA1 Message Date
Evan Cheng
791a1e1787 Improved codegen due to Chris' live interval joining changes.
llvm-svn: 29899
2006-08-26 07:38:36 +00:00
Rafael Espindola
39c3b906cb test case for varargs functions
llvm-svn: 29877
2006-08-25 17:57:36 +00:00
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
665fa52aba If dejagnu is not found, tell the user instead of bombing out with an
obscure error.

llvm-svn: 29421
2006-08-01 00:07:58 +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
Chris Lattner
e5d864fadc Testcase for PR820
llvm-svn: 29070
2006-07-07 21:36:42 +00:00
Evan Cheng
e5204df53a Add a 64-bit test case.
llvm-svn: 29069
2006-07-07 21:36:24 +00:00
Evan Cheng
a75e709ece New vector shuffle test case.
llvm-svn: 29060
2006-07-07 17:54:24 +00:00
Evan Cheng
d9412a6ba7 Update
llvm-svn: 29059
2006-07-07 17:54:10 +00:00
Chris Lattner
3a03a7b965 Xfail this
llvm-svn: 29040
2006-07-07 04:43:24 +00:00
Evan Cheng
b67d25bb2f Update test case.
llvm-svn: 28994
2006-07-05 20:46:27 +00:00
Andrew Lenharth
22bd57c1fe Legalize does not handle this correctly
llvm-svn: 28991
2006-07-03 22:46:02 +00:00
Andrew Lenharth
17cd7df3ac not really XFailing these, as only incompleteness is wrong in the graph
llvm-svn: 28967
2006-06-28 20:14:30 +00:00
Andrew Lenharth
81620fdf19 change I flag on test
llvm-svn: 28966
2006-06-28 20:07:36 +00:00
Chris Lattner
9c4d1db50d Testcase that crashes the ppc backend.
llvm-svn: 28964
2006-06-28 18:29:33 +00:00
Chris Lattner
a7feb94eda Infinite loop in instcombine that nate hit.
llvm-svn: 28960
2006-06-28 17:34:28 +00:00
Chris Lattner
3ec808d0a9 New testcase, reduced by nate, which crashes DSE
llvm-svn: 28949
2006-06-27 23:47:39 +00:00
Owen Anderson
c954a12d6c Testcase that Nate found where LoopUnswitch chokes on eliminating a dead case
from a switch instruction.

llvm-svn: 28946
2006-06-27 22:24:59 +00:00
Chris Lattner
7104d3b8a7 testcase that crashes dead arg elim.
llvm-svn: 28942
2006-06-27 20:58:41 +00:00
Rafael Espindola
14a59f5b6e initial implementation of ARMRegisterInfo::eliminateFrameIndex
fixes test/Regression/CodeGen/ARM/ret_arg5.ll

llvm-svn: 28854
2006-06-18 00:08:07 +00:00
Chris Lattner
9d6d1e0236 Just a minor tweak so you can run things like:
TestRunner.sh Foo/Bar/test.ll

instead of just

TestRunner.sh test.ll

which is convenient in conjunction with find.

llvm-svn: 28852
2006-06-17 08:06:33 +00:00
Chris Lattner
9e284be377 new testcase that crashes indvars
llvm-svn: 28849
2006-06-17 01:01:30 +00:00
Jim Laskey
a5e841799d PR# not associated with XFAIL
llvm-svn: 28822
2006-06-16 16:57:43 +00:00
Jim Laskey
86cc6fd882 debug info is alive again
llvm-svn: 28821
2006-06-16 16:50:24 +00:00
Chris Lattner
d64f3aac5e This test isn't implemented yet
llvm-svn: 28820
2006-06-16 16:36:50 +00:00
Chris Lattner
89e4eb7805 New testcase, the linker is not merging alignments right.
llvm-svn: 28811
2006-06-16 01:20:58 +00:00
Jim Laskey
7b72f6e4f0 Make sure global doubles and vectors are aligned properly.
llvm-svn: 28805
2006-06-15 19:35:07 +00:00
Chris Lattner
756231f26f new testcase, instcombine should turn these into llvm.bswap intrinsics.
llvm-svn: 28802
2006-06-15 19:06:42 +00:00
Chris Lattner
cf6b3bb376 new testcase, not currently working.
llvm-svn: 28786
2006-06-14 21:24:57 +00:00
Chris Lattner
49a37a58ac new testcase, distilled from povray
llvm-svn: 28778
2006-06-14 04:45:45 +00:00
Jim Laskey
422c9a610a My original test case was bogus. Reverting to crasher case.
llvm-svn: 28767
2006-06-13 15:22:49 +00:00
Jim Laskey
7d9997132e Tests to make sure that ComputeMaskedBits discards bits for shifts.
llvm-svn: 28766
2006-06-13 13:10:44 +00:00
Chris Lattner
8e718346df TEstcase that makes simplifycfg infloop.
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Chris Lattner
317d8c2ae3 New testcase that crashes llc
llvm-svn: 28754
2006-06-12 18:24:32 +00:00
Owen Anderson
4796bc9bda Make sure that LCSSA works properly when it encounters an exit block that has
more than one predecessor inside the loop.

llvm-svn: 28749
2006-06-12 07:05:47 +00:00
Chris Lattner
864081185f Add new testcase
llvm-svn: 28732
2006-06-08 18:26:48 +00:00
Chris Lattner
3f67ad5d1d New testcase, using "AX" as i32.
llvm-svn: 28730
2006-06-08 18:20:13 +00:00
Owen Anderson
a7969cf3bc Update the regression tests, and add a new one encountered while compiling crtend.
llvm-svn: 28681
2006-06-04 00:56:30 +00:00
Rafael Espindola
592953affb added some tests for argument passing
llvm-svn: 28644
2006-06-01 22:01:25 +00:00
Chris Lattner
a3888ec9bb testcase for the recent inliner improvement.
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Reid Spencer
b960d7e5d7 No, libLLVMbzip2 does not have a .a suffix.
llvm-svn: 28624
2006-06-01 07:23:32 +00:00
Reid Spencer
7e56903810 Fix gcc command line options after LLVMCore and LLVMbzip2 became archive
libraries.

llvm-svn: 28623
2006-06-01 07:19:28 +00:00
Evan Cheng
0b61a39321 Update vector extract test cases.
llvm-svn: 28580
2006-05-31 00:48:09 +00:00
Reid Spencer
556edf9b9b 1. No need to thwart this test with an environment variable. Turning it off
is the default and handled by the makefile system and runtest
2. Redirect stderr of llvm-as and llvm2cpp so that warning messages about
   instrinsics don't cause Tcl to report the run as failed.

llvm-svn: 28576
2006-05-30 23:07:17 +00:00
Evan Cheng
e61fd7c096 Added a test case for parameter passing of vector values.
llvm-svn: 28567
2006-05-30 20:37:00 +00:00
Evan Cheng
6494e07fb8 Fix the test failure on non-Darwin targets.
llvm-svn: 28566
2006-05-30 20:35:46 +00:00
Evan Cheng
27b3286714 Add a lea instruction selection test case.
llvm-svn: 28549
2006-05-30 06:53:55 +00:00
Reid Spencer
181a0cc88d Fix a bug with diffing the wrong files. Make output more readable.
llvm-svn: 28542
2006-05-29 18:09:38 +00:00
Owen Anderson
d084ef3d2e Require both tests to pass.
llvm-svn: 28531
2006-05-29 01:28:16 +00:00
Owen Anderson
288a8b2d78 Update the testcase to check the full extent of LCSSA.
llvm-svn: 28530
2006-05-29 01:07:04 +00:00
Reid Spencer
97be29a3b4 Fix a problem where dejagnu won't accept the value of global tcl variable
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.

llvm-svn: 28526
2006-05-28 07:22:42 +00:00
Reid Spencer
30094a399d Provide an infrastructure for testing the llvm2cpp program (yet to be
committed). This infrastructure is only activated when RUNLLVM2CPP=1 is
specified on the make command line. Currently it is only supported in the
Feature test suite.

llvm-svn: 28525
2006-05-28 04:21:40 +00:00