Rafael Espindola
af1689d5a5
implement unconditional branches
...
fix select.ll
llvm-svn: 30186
2006-09-08 12:47:03 +00:00
Evan Cheng
384c254470
New test case.
...
llvm-svn: 30179
2006-09-08 07:24:20 +00:00
Evan Cheng
f56e6f2861
Add a new test case for 'undef' shuffles.
...
llvm-svn: 30172
2006-09-08 01:54:32 +00:00
Chris Lattner
4d22e7fac4
new testcase
...
llvm-svn: 30157
2006-09-07 21:29:32 +00:00
Chris Lattner
02b42279f5
This fails
...
llvm-svn: 30148
2006-09-07 17:43:59 +00:00
Chris Lattner
d394bd49a8
New testcase for a switch lowering bug.
...
llvm-svn: 30141
2006-09-07 01:59:05 +00:00
Chris Lattner
6fbd159a5f
testcase, ensure this never breaks.
...
llvm-svn: 30137
2006-09-06 21:54:59 +00:00
Chris Lattner
6236981486
make this harder
...
llvm-svn: 30120
2006-09-05 20:27:06 +00:00
Rafael Espindola
de18749e1f
add support for returning 64bit values
...
llvm-svn: 30103
2006-09-04 19:05:01 +00:00
Rafael Espindola
65007fc49c
add the SETULT condition code
...
llvm-svn: 30067
2006-09-03 13:19:16 +00:00
Chris Lattner
a82712d3bf
Testcase (distilled from crafty) that crashed the local RA on X86.
...
llvm-svn: 30063
2006-09-03 07:14:47 +00:00
Owen Anderson
4bbb544645
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
0ea394ab0a
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
5c0443c41e
add more condition codes
...
llvm-svn: 30056
2006-09-02 20:24:25 +00:00
Nick Lewycky
26f5df3031
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
cdf49f8b10
Another "cyclic DAG" test case.
...
llvm-svn: 30043
2006-09-01 23:50:17 +00:00
Chris Lattner
dc8b45e90e
Make this harder
...
llvm-svn: 30036
2006-09-01 22:07:00 +00:00
Chris Lattner
1e5cf5e60f
simple multiclass example
...
llvm-svn: 30028
2006-09-01 21:14:37 +00:00
Nick Lewycky
56d79475b7
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
51ea6dd990
Bugfix for recent coallescer crash
...
llvm-svn: 29990
2006-08-30 23:03:35 +00:00
Chris Lattner
e3875d952f
new testcase for pr687
...
llvm-svn: 29967
2006-08-29 23:09:59 +00:00
Evan Cheng
3b2d02f5cc
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
00436b4bcb
Fix test case so it passes on x86-64.
...
llvm-svn: 29963
2006-08-29 21:49:58 +00:00
Evan Cheng
46cb8d0649
Undo xfail.
...
llvm-svn: 29958
2006-08-29 18:49:41 +00:00
Nick Lewycky
9535a84c33
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
f4df63d60f
Update tests now that opt no longer reads .ll files
...
llvm-svn: 29927
2006-08-27 22:47:14 +00:00
Chris Lattner
7d72768564
Adjust tests now that opt doesn't read .ll files.
...
llvm-svn: 29926
2006-08-27 22:44:20 +00:00
Chris Lattner
3547c114ac
opt no longer reads .ll files. Run llvm-as explicitly.
...
llvm-svn: 29924
2006-08-27 22:41:58 +00:00
Chris Lattner
ffc831f01a
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
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