Devang Patel
b42aef4925
Fix bug in PR454 resolution. Added new test case.
...
This fixes llvmAsmParser.cpp miscompile by llvm on PowerPC Darwin.
llvm-svn: 31053
2006-10-19 18:54:08 +00:00
Rafael Espindola
ea67b973c2
print common symbols
...
llvm-svn: 31048
2006-10-19 13:30:40 +00:00
Rafael Espindola
bad440742e
add blx
...
llvm-svn: 31037
2006-10-18 16:21:43 +00:00
Rafael Espindola
b21e8d2e12
implement CallingConv::Fast as CallingConv::C
...
llvm-svn: 31034
2006-10-18 12:03:07 +00:00
Chris Lattner
0ff257353c
new testcase
...
llvm-svn: 31029
2006-10-18 01:21:35 +00:00
Chris Lattner
51746a3bee
new testcase, miscompilation of llvm with itself.
...
llvm-svn: 31018
2006-10-17 21:23:20 +00:00
Rafael Espindola
ba8f296167
expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM
...
llvm-svn: 31014
2006-10-17 21:05:33 +00:00
Rafael Espindola
99bf133d58
add FABSS and FABSD
...
llvm-svn: 31012
2006-10-17 20:33:13 +00:00
Rafael Espindola
391af581f0
cleanup some tests
...
llvm-svn: 31010
2006-10-17 20:20:07 +00:00
Rafael Espindola
2d7d14262a
remove extra [] in stores
...
llvm-svn: 31008
2006-10-17 18:29:14 +00:00
Chris Lattner
b7f67a23e0
new testcase
...
llvm-svn: 31005
2006-10-17 18:14:39 +00:00
Rafael Espindola
19398ec86e
initial implementation of addressing mode 5
...
llvm-svn: 31002
2006-10-17 18:04:53 +00:00
Rafael Espindola
feb50708eb
add the immediate to the Offset in eliminateFrameIndex
...
llvm-svn: 30998
2006-10-17 14:34:02 +00:00
Rafael Espindola
418c8e69bb
add FSTD and FSTS
...
llvm-svn: 30996
2006-10-17 13:36:07 +00:00
Rafael Espindola
afdd47ace4
add fdivs e fdivd
...
llvm-svn: 30988
2006-10-16 21:50:04 +00:00
Rafael Espindola
f719c5f43d
expand ISD::SHL_PARTS, ISD::SRA_PARTS and ISD::SRL_PARTS
...
llvm-svn: 30987
2006-10-16 21:10:32 +00:00
Rafael Espindola
677ee8390d
implement LDRB, LDRSB, LDRH and LDRSH
...
llvm-svn: 30976
2006-10-16 17:17:22 +00:00
Rafael Espindola
595dc4c884
implement smull and umull
...
llvm-svn: 30975
2006-10-16 16:33:29 +00:00
Chris Lattner
7fce911edd
testcase that causes the asmparser to assert
...
llvm-svn: 30969
2006-10-15 23:26:28 +00:00
Rafael Espindola
4c1baf1528
fix some fp condition codes
...
use non trapping comparison instructions
llvm-svn: 30962
2006-10-14 13:42:53 +00:00
Evan Cheng
5384fc9676
One cyclic dag a day is good for ya...
...
llvm-svn: 30960
2006-10-14 08:35:02 +00:00
Chris Lattner
d0cc3bdfc3
testcase for recent dag combiner patch. Before the entry bb was:
...
_test:
stwu r1, -80(r1)
stw r1, 76(r1)
mflr r11
stw r11, 88(r1)
rlwinm r2, r4, 0, 30, 31
cmplwi cr7, r2, 2
mfcr r2
rlwinm r2, r2, 30, 31, 31
cmplwi cr0, r2, 0
bne cr0, LBB1_2 ;UnifiedReturnBlock
after it is:
_test:
stwu r1, -80(r1)
stw r1, 76(r1)
mflr r11
stw r11, 88(r1)
rlwinm r2, r4, 0, 30, 31
cmplwi cr0, r2, 2
bgt cr0, LBB1_2 ;UnifiedReturnBlock
llvm-svn: 30954
2006-10-14 03:40:02 +00:00
Chris Lattner
52e298b700
testcase for recent selectiondag patch
...
llvm-svn: 30949
2006-10-13 23:54:16 +00:00
Rafael Espindola
5ab3166f74
add FNEGS and FNEGD
...
llvm-svn: 30932
2006-10-13 17:37:35 +00:00
Rafael Espindola
d6050c3149
add SBCS and SUBS
...
llvm-svn: 30930
2006-10-13 17:19:20 +00:00
Rafael Espindola
79d9807c87
implement calls to functions that return long
...
llvm-svn: 30929
2006-10-13 16:47:22 +00:00
Rafael Espindola
3874a168d0
implement unordered floating point compares
...
llvm-svn: 30928
2006-10-13 13:14:59 +00:00
Chris Lattner
ce34aa8fd7
new testcase
...
llvm-svn: 30919
2006-10-12 20:56:15 +00:00
Evan Cheng
88bf1625fa
Add another cyclic dag test case.
...
llvm-svn: 30918
2006-10-12 20:38:45 +00:00
Evan Cheng
e415f196a3
Update tests.
...
llvm-svn: 30895
2006-10-12 01:42:03 +00:00
Chris Lattner
4b77688d14
new testcase
...
llvm-svn: 30893
2006-10-11 22:07:38 +00:00
Chris Lattner
ddf7347283
add test for mdef in a let
...
llvm-svn: 30886
2006-10-11 18:12:14 +00:00
Jim Laskey
5684eda9e8
Explict processor.
...
llvm-svn: 30882
2006-10-11 17:14:14 +00:00
Jim Laskey
b41de440b5
Make sure combiner alias analysis does it's thing.
...
llvm-svn: 30879
2006-10-11 13:42:49 +00:00
Evan Cheng
ac72dc81f4
Test case for the recently fixed FindModifiedNodeSlot bug.
...
llvm-svn: 30877
2006-10-11 07:01:37 +00:00
Chris Lattner
a821fe2da1
new testcase, this should turn into zap
...
llvm-svn: 30874
2006-10-11 05:10:19 +00:00
Andrew Lenharth
a6bbf33cbf
Jimptables working again on alpha.
...
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
llvm-svn: 30873
2006-10-11 04:29:42 +00:00
Chris Lattner
ee0435680b
Both of these functions should turn into cmpbge instructions, even though
...
the second has an and of 254 not 255.
llvm-svn: 30870
2006-10-11 03:59:48 +00:00
Chris Lattner
291a868823
new testcase for zap generation, from the alpha readme
...
llvm-svn: 30865
2006-10-11 01:47:08 +00:00
Rafael Espindola
8429e1f6c3
uint <-> double conversion
...
llvm-svn: 30862
2006-10-10 20:38:57 +00:00
Rafael Espindola
b5f1ff336a
add fp sub
...
llvm-svn: 30859
2006-10-10 19:35:01 +00:00
Rafael Espindola
57d109fb08
add double <-> int conversion
...
llvm-svn: 30858
2006-10-10 18:55:14 +00:00
Rafael Espindola
d1a4ea41c9
compare doubles
...
llvm-svn: 30856
2006-10-10 16:33:47 +00:00
Rafael Espindola
639450ea83
add some tests for floating point compare
...
llvm-svn: 30855
2006-10-10 14:26:06 +00:00
Evan Cheng
6d37137e4f
Add test case from PR940.
...
llvm-svn: 30852
2006-10-10 04:33:46 +00:00
Evan Cheng
16488647d8
shufps with load folding is better than movaps; movsd.
...
llvm-svn: 30849
2006-10-09 22:42:31 +00:00
Rafael Espindola
4d03bf8f43
add some tests for floating point arithmetic
...
llvm-svn: 30840
2006-10-09 19:15:17 +00:00
Rafael Espindola
9e29ec371a
add float -> double and double -> float conversion
...
llvm-svn: 30835
2006-10-09 17:50:29 +00:00
Chris Lattner
fb257818c4
xfail this until andrew has a chance to implement the alpha TM method.
...
llvm-svn: 30833
2006-10-09 17:34:40 +00:00
Rafael Espindola
0e44ed293f
add a test for adds adcs
...
llvm-svn: 30832
2006-10-09 17:30:15 +00:00
Chris Lattner
7440e23eb2
new testcase for PR892
...
llvm-svn: 30824
2006-10-08 23:52:06 +00:00
Chris Lattner
7a36ae4361
new testcase for SROA for stuff like "union { int*, float* }".
...
llvm-svn: 30822
2006-10-08 23:27:37 +00:00
Chris Lattner
f8fa10a6bb
new testcase we miscompile
...
llvm-svn: 30816
2006-10-07 21:54:08 +00:00
Rafael Espindola
b50938866b
implement FUITOS and FUITOD
...
llvm-svn: 30803
2006-10-07 14:24:52 +00:00
Rafael Espindola
58c368bc4f
implement FLDD
...
llvm-svn: 30802
2006-10-07 14:03:39 +00:00
Rafael Espindola
671f25281d
add support for calling functions that return double
...
llvm-svn: 30771
2006-10-06 19:10:05 +00:00
Rafael Espindola
ef01656ea4
fix some bugs affecting functions with no arguments
...
llvm-svn: 30767
2006-10-06 17:26:30 +00:00
Rafael Espindola
5fe7909e18
add support for calling functions that have double arguments
...
llvm-svn: 30765
2006-10-06 12:50:22 +00:00
Rafael Espindola
e04df41ca2
implement a ArgumentLayout class to factor code common to LowerFORMAL_ARGUMENTS and LowerCALL
...
implement FMDRR
add support for f64 function arguments
llvm-svn: 30754
2006-10-05 16:48:49 +00:00
Chris Lattner
3d5e9818bd
new testcase
...
llvm-svn: 30751
2006-10-05 06:51:54 +00:00
Andrew Lenharth
16b8f95831
Check that jump tables wind up in the rodata section
...
llvm-svn: 30747
2006-10-05 03:27:52 +00:00
Chris Lattner
bfe59e87e5
Verify that jump tables are emitted to the same section as the function is,
...
when codegen'ing in pic mode. This fixes a miscompilation of a switch stmt
in a template, as the template goes to a non-.text section.
llvm-svn: 30743
2006-10-05 03:12:36 +00:00
Chris Lattner
1e21d3a5ae
pattern match min/max nodes
...
llvm-svn: 30718
2006-10-04 06:56:02 +00:00
Rafael Espindola
68d238801c
Implement floating point constants
...
llvm-svn: 30704
2006-10-03 17:27:58 +00:00
Chris Lattner
70a12ec8f8
testcase for PR933
...
llvm-svn: 30702
2006-10-03 17:17:54 +00:00
Nick Lewycky
755f801adc
Move break-crit-edges before the predicate simplifier. Allows us to
...
optimize in more cases.
llvm-svn: 30699
2006-10-03 14:52:23 +00:00
Chris Lattner
2a7e3c29a1
New testcase for PR932
...
llvm-svn: 30695
2006-10-03 07:00:13 +00:00
Rafael Espindola
d55c0a41df
fix the names of the 64bit fp register
...
initial support for returning 64bit floating point numbers
llvm-svn: 30692
2006-10-02 19:30:56 +00:00
Chris Lattner
bfc049ae3f
New testcase
...
llvm-svn: 30683
2006-10-01 22:35:45 +00:00
Chris Lattner
c82477f3a8
new testcase, malloc should be promoted to [2 x double].
...
llvm-svn: 30681
2006-10-01 19:39:45 +00:00
Rafael Espindola
53f78be49e
add floating point registers
...
implement SINT_TO_FP
llvm-svn: 30673
2006-09-29 21:20:16 +00:00
Chris Lattner
754c8cf702
Adjust this to the wonky syntax that GCC expects.
...
llvm-svn: 30670
2006-09-29 17:34:56 +00:00
Reid Spencer
5f2b79ec4c
Use the -emit-llvm switch to generate LLVM assembly that can be parsed
...
by the test case.
llvm-svn: 30654
2006-09-28 21:36:21 +00:00
Reid Spencer
4fde7faeb0
Add a test case for PR902.
...
llvm-svn: 30653
2006-09-28 21:20:05 +00:00
Chris Lattner
a3542a82be
new testcase
...
llvm-svn: 30651
2006-09-28 20:48:17 +00:00
Chris Lattner
83fb402291
Testcase for PR924
...
llvm-svn: 30649
2006-09-28 18:58:02 +00:00
Jim Laskey
3bbf884855
Make sure C++ protection shows up in debug info
...
llvm-svn: 30626
2006-09-27 16:55:19 +00:00
Devang Patel
ce73ac3089
Add http://llvm.org/bugs/show_bug.cgi?id=923 test case.
...
llvm-svn: 30622
2006-09-27 02:58:44 +00:00
Chris Lattner
ae7ff8b0c6
test that the no_dead_strip directive is emitted on darwin-x86
...
llvm-svn: 30607
2006-09-26 03:44:20 +00:00
John Criswell
437d9a3fb2
Regression test for PR#922.
...
llvm-svn: 30599
2006-09-25 19:12:01 +00:00
Andrew Lenharth
6d8e227ac7
Fix
...
llvm-svn: 30596
2006-09-25 14:04:53 +00:00
Andrew Lenharth
3cec4952ab
basic jump table test
...
llvm-svn: 30592
2006-09-24 19:42:02 +00:00
Bill Wendling
fc0e612b65
Use "%llvmgxx" instead of "llvm-g++".
...
llvm-svn: 30580
2006-09-22 07:09:01 +00:00
Nate Begeman
9007f5a48d
Testcase for better rotate left and mask support
...
llvm-svn: 30579
2006-09-22 05:49:57 +00:00
Bill Wendling
fe95123f58
Regression testcase for PR855.
...
llvm-svn: 30578
2006-09-22 05:34:25 +00:00
Rafael Espindola
7b700e517a
more condition codes
...
llvm-svn: 30567
2006-09-21 13:06:26 +00:00
Rafael Espindola
0c71a5adc8
if a constant can't be an immediate, add it to the constant pool
...
llvm-svn: 30566
2006-09-21 11:29:52 +00:00
Chris Lattner
6597e053e1
new testcase
...
llvm-svn: 30554
2006-09-21 05:11:01 +00:00
Nick Lewycky
d74c55f483
Once we're down to "setcc type constant1, constant2", at least come up
...
with the right answer.
llvm-svn: 30550
2006-09-20 23:02:24 +00:00
Nick Lewycky
cfff1c3f86
Use a total ordering to compare instructions.
...
Fixes infinite loop in resolve().
llvm-svn: 30540
2006-09-20 17:04:01 +00:00
Andrew Lenharth
b04e899bb4
catch another constant
...
llvm-svn: 30533
2006-09-20 15:04:55 +00:00
Chris Lattner
2b09e1d2fc
new testcase
...
llvm-svn: 30516
2006-09-20 06:40:37 +00:00
Andrew Lenharth
731f2d52a3
Inspired by the linux kernel, the more we keep adds in the pointer realm, the better pointer analysis works.
...
llvm-svn: 30495
2006-09-19 18:23:39 +00:00
Rafael Espindola
f7d4a9900c
Implement a MachineFunctionPass to fix the mul instruction
...
llvm-svn: 30485
2006-09-19 15:49:25 +00:00
Chris Lattner
dc892c6221
number test right
...
llvm-svn: 30484
2006-09-19 06:19:19 +00:00
Chris Lattner
aa0ad47e97
make this harder
...
llvm-svn: 30481
2006-09-19 06:17:55 +00:00
Chris Lattner
db4fbdd1a6
new testcases
...
llvm-svn: 30480
2006-09-19 06:16:46 +00:00
Nick Lewycky
5cc1e9b51d
Enable dejagnu tests for predicate simplifier.
...
llvm-svn: 30475
2006-09-19 00:31:54 +00:00
Chris Lattner
165f344721
new testcase
...
llvm-svn: 30471
2006-09-18 22:28:07 +00:00
Chris Lattner
3425123ced
new testcase
...
llvm-svn: 30464
2006-09-18 18:07:51 +00:00
Chris Lattner
5c1bfd0311
new testcase
...
llvm-svn: 30458
2006-09-18 07:01:39 +00:00
Chris Lattner
52d170fc94
new testcase
...
llvm-svn: 30455
2006-09-18 05:25:10 +00:00
Chris Lattner
00a07af638
New testcase, can be an srl instead of sra
...
llvm-svn: 30449
2006-09-18 04:31:18 +00:00
Chris Lattner
5772ba4f50
Testcase for PR913
...
llvm-svn: 30404
2006-09-16 03:13:22 +00:00
Chris Lattner
1bcb3d16cc
xfail this for now
...
llvm-svn: 30398
2006-09-15 17:25:22 +00:00
Chris Lattner
84890d2da1
The inliner strips dead allocas now. Add a use to allow this test to
...
test the right thing.
llvm-svn: 30393
2006-09-15 16:53:11 +00:00
Chris Lattner
4c4e077546
New testcase
...
llvm-svn: 30378
2006-09-14 21:10:06 +00:00
Chris Lattner
73eedf0a05
new testcase
...
llvm-svn: 30302
2006-09-13 19:23:43 +00:00
Chris Lattner
8ed3cd4e90
The sense of this branch was backwards
...
llvm-svn: 30296
2006-09-13 17:58:57 +00:00
Chris Lattner
256aeb321b
new testcase
...
llvm-svn: 30289
2006-09-13 05:59:25 +00:00
Chris Lattner
7789e938b6
New testcase
...
llvm-svn: 30287
2006-09-13 04:43:26 +00:00
Chris Lattner
ecd9bfb303
new testcase
...
llvm-svn: 30282
2006-09-13 03:21:27 +00:00
Chris Lattner
726bc70c43
testcase for PR908
...
llvm-svn: 30274
2006-09-12 19:16:04 +00:00
Chris Lattner
2655c59a7b
Testcase that crashes the C++ FE.
...
llvm-svn: 30273
2006-09-12 16:28:14 +00:00
Chris Lattner
3592523342
new testcase for PR906
...
llvm-svn: 30267
2006-09-11 22:48:23 +00:00
Chris Lattner
3faf86e4f4
new testcase for PR905
...
llvm-svn: 30265
2006-09-11 21:41:56 +00:00
Evan Cheng
e9d1a2fcae
Rename a test-not-cmp.ll to cmp-test.ll; add a test.
...
llvm-svn: 30243
2006-09-11 02:33:29 +00:00
Chris Lattner
33ce390fce
add a testcase for this commit: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050606/026673.html
...
llvm-svn: 30238
2006-09-10 18:52:25 +00:00
Nick Lewycky
9a22d7b60f
Replace EquivalenceClasses with a custom-built data structure. Many common
...
operations (like findProperties) should be faster, at the expense of
unionSets being slower in cases that are rare in practise.
Don't erase a dead Instruction. This fixes a memory corruption issue.
llvm-svn: 30235
2006-09-10 02:27:07 +00:00
Chris Lattner
0d38df3e87
new testcase
...
llvm-svn: 30233
2006-09-09 22:02:25 +00:00
Chris Lattner
b6118b0ad6
new testcase
...
llvm-svn: 30229
2006-09-09 20:26:04 +00:00
Chris Lattner
a4b7de8669
(indirect) test for the __builtin_powi builtin which we now support.
...
llvm-svn: 30224
2006-09-09 06:02:16 +00:00
Rafael Espindola
d11fb5d13b
implement shl and sra
...
llvm-svn: 30191
2006-09-08 17:36:23 +00:00
Rafael Espindola
384a4a9480
fix select.ll to always test a select node
...
llvm-svn: 30187
2006-09-08 12:52:50 +00:00
Rafael Espindola
778769aafb
implement unconditional branches
...
fix select.ll
llvm-svn: 30186
2006-09-08 12:47:03 +00:00
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
Evan Cheng
bb7dc538c7
New test case.
...
llvm-svn: 29558
2006-08-07 23:58:47 +00:00
Chris Lattner
cd4ff2b36f
converge on the right number of %'s :)
...
llvm-svn: 29527
2006-08-04 18:09:27 +00:00
Reid Spencer
661f62625a
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
2bcb8c0f05
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
64de8fb7e8
new testcase for pr867
...
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Jim Laskey
79bf4c67fc
Applying for all.
...
llvm-svn: 29512
2006-08-03 20:56:35 +00:00
Jim Laskey
d9f2969cdb
Make all the schedulers continue to work.
...
llvm-svn: 29510
2006-08-03 20:49:29 +00:00
Chris Lattner
aba76b76b1
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
9e3d4c2693
New testcase for PR850.
...
llvm-svn: 29419
2006-07-31 23:25:17 +00:00
Chris Lattner
8f5dcd716a
testcase for PR854.
...
llvm-svn: 29412
2006-07-31 17:31:48 +00:00
Chris Lattner
f0fe42350f
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
47925f2e6c
New testcase for PR853
...
llvm-svn: 29407
2006-07-29 01:50:53 +00:00
Chris Lattner
698913e6c5
allow this to pass on non-x86 machines
...
llvm-svn: 29303
2006-07-26 20:44:24 +00:00
Chris Lattner
da72978e1e
Don't test an example
...
llvm-svn: 29301
2006-07-26 20:33:20 +00:00
Rafael Espindola
8902fd702b
implement function calling of functions with up to 4 arguments
...
llvm-svn: 29274
2006-07-25 20:17:20 +00:00
Evan Cheng
d5b5c97364
XFAIL for now.
...
llvm-svn: 29272
2006-07-24 07:37:33 +00:00
Evan Cheng
f406ae17a1
New vector shuffle test case.
...
llvm-svn: 29237
2006-07-20 23:51:01 +00:00
Evan Cheng
1504b298ec
Fix a broken test.
...
llvm-svn: 29236
2006-07-20 23:50:13 +00:00
Chris Lattner
9b10424aa8
New testcase for PR833
...
llvm-svn: 29225
2006-07-20 19:04:36 +00:00
Chris Lattner
4f501620ff
new testcase
...
llvm-svn: 29207
2006-07-19 17:14:23 +00:00
Jim Laskey
611ceb7848
Regression test for PR834.
...
llvm-svn: 29206
2006-07-19 16:37:15 +00:00
Chris Lattner
c7012cc9e9
testcase for PR827
...
llvm-svn: 29119
2006-07-12 18:27:13 +00:00
Chris Lattner
ed5a82b63e
Testcase for PR828.
...
llvm-svn: 29117
2006-07-12 16:59:09 +00:00
Evan Cheng
e910c355d3
Fix test failure on non-Apple systems.
...
llvm-svn: 29116
2006-07-12 06:48:47 +00:00
Chris Lattner
7a00b86720
Testcase for PR826
...
llvm-svn: 29111
2006-07-11 20:29:21 +00:00
Chris Lattner
6f5d3531c7
New testcase for PR825.
...
llvm-svn: 29100
2006-07-11 02:52:37 +00:00
Chris Lattner
14f6c70eeb
This is fixed
...
llvm-svn: 29098
2006-07-11 01:39:30 +00:00
Evan Cheng
fbc80692e4
Update.
...
llvm-svn: 29092
2006-07-10 21:49:09 +00:00
Chris Lattner
a0449c2936
New testcase for folding bswaps into i16/i32 loads and stores.
...
llvm-svn: 29088
2006-07-10 20:53:53 +00:00
Chris Lattner
3f8aee5fdf
Add tests for 16-bit byteswaps.
...
llvm-svn: 29086
2006-07-10 20:25:01 +00:00
Owen Anderson
638d6b914d
Add a test for the LCSSA issue I just fixed.
...
llvm-svn: 29077
2006-07-09 08:17:30 +00:00
Chris Lattner
c20367a548
Testcase for PR820
...
llvm-svn: 29070
2006-07-07 21:36:42 +00:00
Evan Cheng
7f6b788f24
Add a 64-bit test case.
...
llvm-svn: 29069
2006-07-07 21:36:24 +00:00
Evan Cheng
6e69d60fb0
New vector shuffle test case.
...
llvm-svn: 29060
2006-07-07 17:54:24 +00:00
Evan Cheng
c2c6a921be
Update
...
llvm-svn: 29059
2006-07-07 17:54:10 +00:00
Chris Lattner
a5b884caa2
Xfail this
...
llvm-svn: 29040
2006-07-07 04:43:24 +00:00
Evan Cheng
6e0af524c4
Update test case.
...
llvm-svn: 28994
2006-07-05 20:46:27 +00:00
Andrew Lenharth
3f3cc10d88
Legalize does not handle this correctly
...
llvm-svn: 28991
2006-07-03 22:46:02 +00:00
Andrew Lenharth
c327932ac1
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
48b2b0c444
change I flag on test
...
llvm-svn: 28966
2006-06-28 20:07:36 +00:00
Chris Lattner
924963b604
Testcase that crashes the ppc backend.
...
llvm-svn: 28964
2006-06-28 18:29:33 +00:00
Chris Lattner
4c6f86816e
Infinite loop in instcombine that nate hit.
...
llvm-svn: 28960
2006-06-28 17:34:28 +00:00
Chris Lattner
5f49a00b9f
New testcase, reduced by nate, which crashes DSE
...
llvm-svn: 28949
2006-06-27 23:47:39 +00:00
Owen Anderson
c3b1a220a7
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
66e9513625
testcase that crashes dead arg elim.
...
llvm-svn: 28942
2006-06-27 20:58:41 +00:00
Rafael Espindola
a88966fd5e
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
0b2652027b
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
fefc14d891
new testcase that crashes indvars
...
llvm-svn: 28849
2006-06-17 01:01:30 +00:00
Jim Laskey
c1066841bd
PR# not associated with XFAIL
...
llvm-svn: 28822
2006-06-16 16:57:43 +00:00
Jim Laskey
fd4b2e234a
debug info is alive again
...
llvm-svn: 28821
2006-06-16 16:50:24 +00:00
Chris Lattner
9cce4a54aa
This test isn't implemented yet
...
llvm-svn: 28820
2006-06-16 16:36:50 +00:00
Chris Lattner
e9ad44e8b1
New testcase, the linker is not merging alignments right.
...
llvm-svn: 28811
2006-06-16 01:20:58 +00:00
Jim Laskey
9095eec0a2
Make sure global doubles and vectors are aligned properly.
...
llvm-svn: 28805
2006-06-15 19:35:07 +00:00
Chris Lattner
c09a6ea07a
new testcase, instcombine should turn these into llvm.bswap intrinsics.
...
llvm-svn: 28802
2006-06-15 19:06:42 +00:00
Chris Lattner
4fce8940b0
new testcase, not currently working.
...
llvm-svn: 28786
2006-06-14 21:24:57 +00:00
Chris Lattner
d3c7db5fa8
new testcase, distilled from povray
...
llvm-svn: 28778
2006-06-14 04:45:45 +00:00
Jim Laskey
a48a176321
My original test case was bogus. Reverting to crasher case.
...
llvm-svn: 28767
2006-06-13 15:22:49 +00:00
Jim Laskey
fe25b30c6d
Tests to make sure that ComputeMaskedBits discards bits for shifts.
...
llvm-svn: 28766
2006-06-13 13:10:44 +00:00
Chris Lattner
9c4ddf8314
TEstcase that makes simplifycfg infloop.
...
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Chris Lattner
eecff6c21f
New testcase that crashes llc
...
llvm-svn: 28754
2006-06-12 18:24:32 +00:00
Owen Anderson
ecb8036e60
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
38b318d436
Add new testcase
...
llvm-svn: 28732
2006-06-08 18:26:48 +00:00
Chris Lattner
1b66dd690c
New testcase, using "AX" as i32.
...
llvm-svn: 28730
2006-06-08 18:20:13 +00:00
Owen Anderson
9e69c67ebe
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
a124c91242
added some tests for argument passing
...
llvm-svn: 28644
2006-06-01 22:01:25 +00:00
Chris Lattner
3f1c2c0e66
testcase for the recent inliner improvement.
...
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Reid Spencer
569f3913a9
No, libLLVMbzip2 does not have a .a suffix.
...
llvm-svn: 28624
2006-06-01 07:23:32 +00:00
Reid Spencer
d661a4c218
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
6821bbb1ea
Update vector extract test cases.
...
llvm-svn: 28580
2006-05-31 00:48:09 +00:00
Reid Spencer
b5ddb66ce0
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
baace007a3
Added a test case for parameter passing of vector values.
...
llvm-svn: 28567
2006-05-30 20:37:00 +00:00
Evan Cheng
1ec0e4233e
Fix the test failure on non-Darwin targets.
...
llvm-svn: 28566
2006-05-30 20:35:46 +00:00
Evan Cheng
905e88caaa
Add a lea instruction selection test case.
...
llvm-svn: 28549
2006-05-30 06:53:55 +00:00
Reid Spencer
131ca2869c
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
a03aa6f37f
Require both tests to pass.
...
llvm-svn: 28531
2006-05-29 01:28:16 +00:00
Owen Anderson
c01e7bde40
Update the testcase to check the full extent of LCSSA.
...
llvm-svn: 28530
2006-05-29 01:07:04 +00:00
Reid Spencer
497120ef63
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
633301acea
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
Chris Lattner
1a2a101359
New testcase: check that the inliner constant folds instructions on the
...
fly if it can.
llvm-svn: 28515
2006-05-27 01:16:22 +00:00
Owen Anderson
f980a7478f
Trivial testcase that LCSSA can already handle.
...
llvm-svn: 28508
2006-05-26 21:59:20 +00:00
Chris Lattner
158dd8aca8
New testcase for trivial DSE
...
llvm-svn: 28502
2006-05-26 19:18:40 +00:00
Chris Lattner
49e7f56e7f
New testcase, check that the bc file correctly encodes varargs nonccc calls.
...
llvm-svn: 28500
2006-05-26 18:41:26 +00:00
Chris Lattner
cdfb4cbad8
new testcase
...
llvm-svn: 28486
2006-05-25 23:23:22 +00:00
Chris Lattner
f322bf6297
new testcases
...
llvm-svn: 28484
2006-05-25 22:52:49 +00:00
Chris Lattner
d0754ad9e6
The patch corresponding to this test had to be reverted as unsafe.
...
llvm-svn: 28479
2006-05-25 21:25:54 +00:00
Evan Cheng
29ba01f214
New test case. x86 isel was creating a cycle in the DAG.
...
llvm-svn: 28477
2006-05-25 20:21:19 +00:00
Rafael Espindola
b14e20733e
create test/Regression/CodeGen/ARM/ and add a minimal test to it
...
llvm-svn: 28468
2006-05-25 10:49:19 +00:00
Evan Cheng
9414021779
-sched-commute-nodes is now on by default.
...
llvm-svn: 28467
2006-05-25 08:39:25 +00:00
Chris Lattner
ea03ef1624
Update testcase with recent cbe change
...
llvm-svn: 28455
2006-05-24 20:52:08 +00:00
Chris Lattner
fb5fc76063
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
...
llvm-svn: 28449
2006-05-24 17:34:02 +00:00
Chris Lattner
5114596467
One of these xforms is only safe with unsafe math enabled.
...
llvm-svn: 28446
2006-05-24 00:49:32 +00:00
Chris Lattner
de6909734d
New testcase
...
llvm-svn: 28444
2006-05-24 00:12:50 +00:00
Evan Cheng
a9194a8dbd
Added a test case for FP equality check.
...
llvm-svn: 28434
2006-05-23 06:41:23 +00:00
Chris Lattner
c4e9aff50f
new testcase for csretcc
...
llvm-svn: 28413
2006-05-19 22:00:54 +00:00
Chris Lattner
4203df25b8
new testcase
...
llvm-svn: 28396
2006-05-19 19:34:09 +00:00
Reid Spencer
8d88fc5ee4
Improve error output. Use the third parameter of the "catch" command to
...
capture the error output from the exec option. This generally will capture
the stderr messages generated by the tools. This information is then
printed if the test fails. This helps to recognize more quickly what the
error was. Otherwise, this information is lost.
llvm-svn: 28385
2006-05-18 19:42:16 +00:00
Chris Lattner
b848c2457e
This test is buggy: printf is a varargs function. This fixes the test with
...
the PPC JIT
llvm-svn: 28375
2006-05-17 23:43:56 +00:00
Evan Cheng
fabc691ce4
PR736 has already been fixed. Remove XFAIL marker.
...
llvm-svn: 28362
2006-05-17 20:21:44 +00:00
Evan Cheng
961ef9363d
New test case for vector type argument pass by value.
...
llvm-svn: 28361
2006-05-17 20:20:04 +00:00
Andrew Lenharth
f8e448f06f
Added regression that breaks gcc4 build
...
llvm-svn: 28358
2006-05-17 19:23:31 +00:00
Chris Lattner
f897d2f274
add an external symbol testcase
...
llvm-svn: 28345
2006-05-17 04:20:13 +00:00
Chris Lattner
174db05199
new test for various forms of calls
...
llvm-svn: 28344
2006-05-17 03:57:31 +00:00
Chris Lattner
5a37460533
test for support to pass/return vectors to calls.
...
llvm-svn: 28343
2006-05-17 00:18:23 +00:00
Chris Lattner
f4d08dd0d3
Another testcase that shouldn't need vrsave twiddling
...
llvm-svn: 28332
2006-05-16 18:23:55 +00:00
Chris Lattner
a1f0b95ce4
Remove this xfail-d test, which doesn't make any sense
...
llvm-svn: 28328
2006-05-16 17:22:42 +00:00
Chris Lattner
4edab0f7a7
New testcase for instcombine
...
llvm-svn: 28272
2006-05-13 02:00:07 +00:00
Chris Lattner
6372a2acde
new testcase for a recent rlwimi crash.
...
llvm-svn: 28242
2006-05-12 16:28:13 +00:00
Evan Cheng
1501b9f829
New scheduling test case.
...
llvm-svn: 28232
2006-05-12 01:59:17 +00:00
Evan Cheng
47a57ac4f9
Update test case
...
llvm-svn: 28216
2006-05-10 19:53:05 +00:00
Chris Lattner
1a0e0c1c9e
New testcase, check that dead code doesn't pessimize instcombine
...
llvm-svn: 28214
2006-05-10 18:56:04 +00:00
Evan Cheng
43ddc376fb
Another instruction scheduling test case
...
llvm-svn: 28203
2006-05-09 07:20:24 +00:00
Evan Cheng
c39ab4575e
Test case for PR770
...
llvm-svn: 28198
2006-05-09 06:48:12 +00:00
Chris Lattner
536c83f25d
new testcase
...
llvm-svn: 28173
2006-05-08 20:58:58 +00:00
Chris Lattner
21c85bc790
This test passes now, remove xfail marker
...
Change test to be a positive test instead of a negative test
llvm-svn: 28159
2006-05-07 18:16:31 +00:00
Chris Lattner
0b8c57ec2b
new testcase we handle right now.
...
llvm-svn: 28147
2006-05-06 18:15:50 +00:00
Chris Lattner
cbeb178e14
new testcase
...
llvm-svn: 28142
2006-05-06 09:09:47 +00:00
Chris Lattner
44f121abc1
new testcase from ghostscript that inf looped instcombine
...
llvm-svn: 28140
2006-05-06 08:58:06 +00:00
Chris Lattner
c9043ef728
New testcase
...
llvm-svn: 28125
2006-05-05 06:38:40 +00:00
Chris Lattner
618ff2dc4e
new testcase that crashes the instcombine pass
...
llvm-svn: 28100
2006-05-04 17:33:24 +00:00
Evan Cheng
8b1cde2bbe
Use movsd to shuffle in the lowest two elements of a v4f32 / v4i32 vector when
...
movlps cannot be used (e.g. when load from m64 has multiple uses).
llvm-svn: 28089
2006-05-03 20:32:03 +00:00
Evan Cheng
7bd487fe41
A few instruction scheduling test cases.
...
llvm-svn: 28077
2006-05-03 02:11:36 +00:00
Chris Lattner
5104e3b833
New testcase that crashes the new CFE.
...
llvm-svn: 28042
2006-05-01 23:18:55 +00:00
Chris Lattner
78d9ae3f0c
Intel mode no longer uses %'s on registers
...
llvm-svn: 28028
2006-05-01 05:56:51 +00:00
Chris Lattner
00aaa76da3
new testcase miscompiled by instcombine
...
llvm-svn: 28018
2006-04-28 22:17:20 +00:00
Chris Lattner
a2cef87a30
testcase that crashes the ppc backend, which can't sextinreg(i1)
...
llvm-svn: 28016
2006-04-28 21:52:24 +00:00
Evan Cheng
e3ca069d35
Update. It should use two shufps, not three!
...
llvm-svn: 28013
2006-04-28 18:55:34 +00:00
Chris Lattner
7abfb81e30
new testcase
...
llvm-svn: 28006
2006-04-28 04:14:29 +00:00
Evan Cheng
c4d77c46b8
Test case for PR748
...
llvm-svn: 28000
2006-04-28 01:21:37 +00:00
Chris Lattner
51fecaa8b3
This should turn into one vector shuffle instruction.
...
llvm-svn: 27996
2006-04-27 21:13:58 +00:00
Chris Lattner
fb1ab10337
new testcase
...
llvm-svn: 27986
2006-04-27 05:00:43 +00:00
Chris Lattner
684a8546f4
new testcase
...
llvm-svn: 27981
2006-04-26 18:32:59 +00:00
Andrew Lenharth
a3f7583408
another c99 style problem
...
llvm-svn: 27969
2006-04-25 19:27:56 +00:00
Evan Cheng
347a5a7afa
Added a movq test case.
...
llvm-svn: 27962
2006-04-24 23:03:22 +00:00
Evan Cheng
40ff2928ed
Two more build_vector tests.
...
llvm-svn: 27944
2006-04-22 06:19:11 +00:00
Evan Cheng
236d23b88e
movddup is a SSE3 instruction.
...
llvm-svn: 27932
2006-04-21 16:42:47 +00:00
Evan Cheng
9c2707ad5a
Add && to each RUN: line (except the last one).
...
llvm-svn: 27927
2006-04-21 04:58:23 +00:00
Evan Cheng
8ef22ae8af
More build_vector tests.
...
llvm-svn: 27926
2006-04-21 01:22:41 +00:00
Evan Cheng
5ddb6f991f
Check for llc crash.
...
llvm-svn: 27925
2006-04-21 01:21:23 +00:00
Evan Cheng
b3864a0ce4
To be replaced with another test.
...
llvm-svn: 27924
2006-04-21 01:12:32 +00:00
Chris Lattner
c11f4f4214
new testcase
...
llvm-svn: 27911
2006-04-20 20:48:32 +00:00
Evan Cheng
968db7ffb7
Don't know what I was thinking...
...
llvm-svn: 27909
2006-04-20 19:47:28 +00:00
Evan Cheng
73b12f2f53
Vector extract element test case.
...
llvm-svn: 27892
2006-04-20 17:59:30 +00:00
Evan Cheng
aecd41384f
Vector insert test case.
...
llvm-svn: 27890
2006-04-20 17:50:10 +00:00
Chris Lattner
ec86eace63
allow this dir to get pruned
...
llvm-svn: 27889
2006-04-20 17:45:33 +00:00
Chris Lattner
1798687dba
Remove this target's reg tests
...
llvm-svn: 27888
2006-04-20 17:44:51 +00:00
Chris Lattner
5197dfadf2
Fails with all sparcs
...
llvm-svn: 27887
2006-04-20 17:43:41 +00:00
Andrew Lenharth
b950dbea0b
can we cast between pointers and IntPtrType
...
llvm-svn: 27879
2006-04-20 14:54:17 +00:00
Evan Cheng
3ee104c852
v16i8 splat with 2 punpcklbw and a single pshufd.
...
llvm-svn: 27877
2006-04-20 09:05:16 +00:00
Evan Cheng
f2c5fe9139
Another shuffle test. For 4-wide shuffle, no more than 3 {p}shuf*.
...
llvm-svn: 27876
2006-04-20 09:01:54 +00:00
Evan Cheng
2bd632a02a
Added a test case for , e.g. xform pand <0, 0, -1, -1> to a shuffle.
...
llvm-svn: 27872
2006-04-20 08:51:03 +00:00
Evan Cheng
059676f77b
Added a movhlps, movlhps test case.
...
llvm-svn: 27871
2006-04-20 08:47:47 +00:00
Chris Lattner
4ae41a3556
New testcase for a codegen crash
...
llvm-svn: 27867
2006-04-20 05:57:43 +00:00
Chris Lattner
11a9ac51e8
new testcase
...
llvm-svn: 27803
2006-04-18 17:56:30 +00:00
Chris Lattner
48786e4887
Add tests for v8i16 and v16i8
...
llvm-svn: 27791
2006-04-18 03:54:50 +00:00
Chris Lattner
2dea154035
new testcase
...
llvm-svn: 27787
2006-04-18 03:22:16 +00:00
Chris Lattner
efe2b3f2fc
New testcase, shouldn't touch vrsave
...
llvm-svn: 27776
2006-04-17 21:48:03 +00:00
Chris Lattner
e757ae6534
New testcase
...
llvm-svn: 27766
2006-04-17 20:32:27 +00:00
Chris Lattner
8cdba16d5e
Some more cases that can be generated with two instructions
...
llvm-svn: 27759
2006-04-17 17:54:18 +00:00
Chris Lattner
9a3859b339
New testcases
...
llvm-svn: 27753
2006-04-17 06:58:16 +00:00
Chris Lattner
02440a996b
new testcase
...
llvm-svn: 27751
2006-04-17 06:06:50 +00:00
Chris Lattner
31b7d89e66
New testcase
...
llvm-svn: 27749
2006-04-17 05:58:22 +00:00
Chris Lattner
6e98b49b54
new testcase, these shuffles can be implemented with discrete instructions,
...
and shouldn't be lowered to vperm.
llvm-svn: 27747
2006-04-17 05:27:31 +00:00
Evan Cheng
c6f665f5f3
Better way to splat v2f64
...
llvm-svn: 27735
2006-04-16 18:16:43 +00:00
Chris Lattner
1c0ef4385d
New testcase, checking to see we can turn this code:
...
void test(vector float *F, float f) {
vector float G = *F + *F;
*((float*)&G) = f;
*F = G + G;
}
void test2(vector float *F, float f) {
vector float G = *F + *F;
((float*)&G)[2] = f;
*F = G + G;
}
void test3(vector float *F, float *f) {
vector float G = *F + *F;
*f = ((float*)&G)[2];
}
void test4(vector float *F, float *f) {
vector float G = *F + *F;
*f = *((float*)&G);
}
into insert/extract element operations with no memory traffic.
llvm-svn: 27709
2006-04-14 21:41:54 +00:00
Chris Lattner
174bccb676
Force a specific config, because this test fails in certain configs otherwise.
...
llvm-svn: 27694
2006-04-14 06:06:51 +00:00
Chris Lattner
1c4ecc0c73
new testcase, vector operations should be CSE'd
...
llvm-svn: 27690
2006-04-14 05:09:53 +00:00
Chris Lattner
326ff4eb93
Remove this test, there is no need to test GCC's bugs
...
llvm-svn: 27689
2006-04-14 04:47:26 +00:00
Chris Lattner
548ee45cac
My addition of the xfail marker threw off the line #. move it.
...
llvm-svn: 27678
2006-04-13 21:19:13 +00:00
Reid Spencer
fabdf8087e
Use quotes properly so that the possibility of a null variable set is
...
eliminated. This can happen, for example, if LLVM is configured without
llvm-gcc in which case things like LLVMGCC_VERSION will be empty. In
such cases, deja-gnu fails with:
can't read "llvmgcc_version": no such variable
because it sees:
set llvmgcc_version
instead of:
set llvmgcc_version ""
llvm-svn: 27676
2006-04-13 20:33:59 +00:00
Andrew Lenharth
d911f0d545
from the linux kernel
...
llvm-svn: 27674
2006-04-13 19:50:07 +00:00
Chris Lattner
612e84dd8b
Fix this regex to match what llvmgcc4 produces also
...
llvm-svn: 27673
2006-04-13 19:46:16 +00:00
Chris Lattner
ce5ee73be6
Try xfailing this
...
llvm-svn: 27669
2006-04-13 18:15:24 +00:00
Andrew Lenharth
4819ab573d
fix this for the more restrictive linkage
...
llvm-svn: 27667
2006-04-13 17:52:32 +00:00
Chris Lattner
d76ecc9678
These tests are now xfailed for llvmgcc4. This is PR735, unlikely to be
...
resolved before 1.7 :(
llvm-svn: 27666
2006-04-13 17:35:36 +00:00
Chris Lattner
c8be43885e
Only look at .ll files in this directory
...
llvm-svn: 27665
2006-04-13 17:32:53 +00:00
Chris Lattner
ee98069488
This file is an invalid C file, test that it is properly rejected
...
llvm-svn: 27664
2006-04-13 17:32:03 +00:00
Chris Lattner
49c1dc2466
Another case where a dead cast was causing the test to spuriously
...
fail with the new front-end.
llvm-svn: 27663
2006-04-13 17:28:28 +00:00
Chris Lattner
2d2f3ef792
Don't get confused by dead casts.
...
llvm-svn: 27662
2006-04-13 17:26:54 +00:00
Chris Lattner
3b84d9a162
Fix an accidental commit.
...
llvm-svn: 27661
2006-04-13 17:21:49 +00:00
Chris Lattner
138058166f
This test fails and I don't know why, xfail it until andrew gets a chance to
...
look at it.
llvm-svn: 27660
2006-04-13 17:19:34 +00:00
Chris Lattner
954ea6e2fc
Oops, move misplaced test
...
llvm-svn: 27659
2006-04-13 17:18:42 +00:00
Chris Lattner
b8ec695455
These are only XFAILs with llvmgcc3, they pass with llvmgcc4
...
llvm-svn: 27658
2006-04-13 17:16:21 +00:00
Chris Lattner
b88cb094ff
Add a run with an unusual target triple, revert the patch that sent output to
...
dev null as it broke the test and doesn't add anything.
llvm-svn: 27656
2006-04-13 17:10:03 +00:00
Chris Lattner
02b7e1128a
Update a count, this test now passes.
...
llvm-svn: 27655
2006-04-13 16:52:13 +00:00
Tanya Lattner
27fba1761d
Added the ability to xfail based on llvmgcc version
...
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Reid Spencer
7579237536
Don't dump the llc assembly output to stdout.
...
llvm-svn: 27631
2006-04-12 21:03:04 +00:00
Chris Lattner
226eb56d2f
new testcase
...
llvm-svn: 27622
2006-04-12 19:04:27 +00:00
Tanya Lattner
bd4a203208
Added llvmgcc version to allow tests to be xfailed by frontend version.
...
llvm-svn: 27619
2006-04-12 18:08:25 +00:00
Chris Lattner
2122424fc1
These casts should turn into gep instructions
...
llvm-svn: 27618
2006-04-12 18:07:41 +00:00
Chris Lattner
21d74e7287
two equivalent vsplti*s in different types should be CSEd.
...
llvm-svn: 27613
2006-04-12 17:36:04 +00:00
Chris Lattner
bd766cb681
Rename this file
...
llvm-svn: 27611
2006-04-12 17:01:11 +00:00
Chris Lattner
ef18ab2bca
Make this test more interesting by checking that the 0.0 used to implement vector fmul gets cse'd also.
...
llvm-svn: 27610
2006-04-12 16:57:39 +00:00
Chris Lattner
e4f274a291
new testcase
...
llvm-svn: 27608
2006-04-12 16:49:16 +00:00
Chris Lattner
8d67500533
new testcase
...
llvm-svn: 27601
2006-04-12 03:24:46 +00:00
Chris Lattner
81d32507c2
new testcase
...
llvm-svn: 27572
2006-04-10 23:06:18 +00:00
Chris Lattner
76b0813040
New testcase
...
llvm-svn: 27570
2006-04-10 22:45:37 +00:00
Evan Cheng
23d33f1c47
Add a vselect test case.
...
llvm-svn: 27557
2006-04-10 07:30:13 +00:00
Chris Lattner
89b371195d
add new testcase
...
llvm-svn: 27537
2006-04-08 07:13:46 +00:00
Chris Lattner
a348351da3
new testcase for shufflevector
...
llvm-svn: 27508
2006-04-08 01:17:42 +00:00
Evan Cheng
c447d87424
Doh!
...
llvm-svn: 27500
2006-04-07 21:52:15 +00:00
Evan Cheng
085c61d825
Added more shuffle tests
...
llvm-svn: 27481
2006-04-07 05:35:45 +00:00
Chris Lattner
b8fc537634
Add testcases for vpku[hw]um(x,x)
...
llvm-svn: 27466
2006-04-06 22:27:59 +00:00
Reid Spencer
c5aca114a0
Add the variable llvmgccmajvers to the site.exp file. This will contain
...
the major version number of llvm-gcc, as configured.
llvm-svn: 27465
2006-04-06 22:22:08 +00:00
Chris Lattner
8688b6befc
Add vmrg(x,x) tests
...
llvm-svn: 27462
2006-04-06 22:02:11 +00:00
Chris Lattner
ab7e530133
Add tests for vmrg[hl]*
...
llvm-svn: 27459
2006-04-06 21:19:37 +00:00
Chris Lattner
13f01c8a3d
test vperm promotion
...
llvm-svn: 27454
2006-04-06 19:21:02 +00:00
Chris Lattner
0373789c92
new testcase
...
llvm-svn: 27449
2006-04-06 18:26:13 +00:00
Chris Lattner
aa53021e91
new testcase that was miscompiled to vspltisb
...
llvm-svn: 27438
2006-04-05 17:38:50 +00:00
Chris Lattner
cc06fa67f1
new testcase
...
llvm-svn: 27435
2006-04-05 06:54:14 +00:00
Evan Cheng
b806a7fe8a
Separate out to 2 test cases
...
llvm-svn: 27430
2006-04-05 04:40:55 +00:00
Andrew Lenharth
8db061ae49
make this test less exacting
...
llvm-svn: 27429
2006-04-05 03:31:45 +00:00
Evan Cheng
aca1a925ba
Add a new shuffle test case that requires pshuflw / pshufhw pair.
...
llvm-svn: 27426
2006-04-05 01:44:57 +00:00
Chris Lattner
d5ed3789dd
New testcase
...
llvm-svn: 27401
2006-04-04 17:38:31 +00:00
Chris Lattner
821fec195a
new testcase
...
llvm-svn: 27397
2006-04-04 17:20:45 +00:00
Andrew Lenharth
2636d2ac89
test powers of 2
...
llvm-svn: 27369
2006-04-03 04:14:39 +00:00
Andrew Lenharth
0288ba764a
test some more mul by constant removal
...
llvm-svn: 27366
2006-04-03 03:16:09 +00:00
Andrew Lenharth
04a8429572
Make sure mul by constant 5 is turned into a s4addq
...
llvm-svn: 27365
2006-04-02 21:47:07 +00:00
Chris Lattner
a13540b896
New testcase that crashes the compiler.
...
llvm-svn: 27333
2006-04-02 00:23:59 +00:00
Chris Lattner
11739f7589
New testcase that caused instcombine to infinitely loop (with my recent
...
patch), distilled from Applications/JM/ldecod
llvm-svn: 27329
2006-04-01 22:04:40 +00:00
Chris Lattner
2b11adcf5c
new testcases
...
llvm-svn: 27327
2006-04-01 08:02:51 +00:00
Chris Lattner
36504b7256
new testcase for PR726
...
llvm-svn: 27325
2006-04-01 04:47:17 +00:00
Chris Lattner
c4f4e8f150
An identity shuffle shouldn't generate any permute code.
...
llvm-svn: 27316
2006-03-31 22:16:19 +00:00
Chris Lattner
376ee782c0
new testcase
...
llvm-svn: 27311
2006-03-31 21:53:01 +00:00
Chris Lattner
a2834fa967
Make this test harder, always check generic x86 and SSE-enabled x86.
...
llvm-svn: 27295
2006-03-31 17:59:16 +00:00
Chris Lattner
5f0744d677
new testcase
...
llvm-svn: 27289
2006-03-31 06:01:48 +00:00
Chris Lattner
11ab8a9d3b
Dag operator should be able to be template params.
...
llvm-svn: 27262
2006-03-30 22:49:59 +00:00
Chris Lattner
dab5696f84
new testcase that crashes instcombine
...
llvm-svn: 27260
2006-03-30 22:01:08 +00:00
Evan Cheng
177501cbda
Add a pshufhw test case.
...
llvm-svn: 27251
2006-03-29 22:51:28 +00:00
Evan Cheng
5dc61c9076
Use unpcklpd for v2f64 splat.
...
llvm-svn: 27249
2006-03-29 18:59:48 +00:00
Chris Lattner
3cf15bde79
new testcase
...
llvm-svn: 27242
2006-03-29 00:12:08 +00:00
Chris Lattner
112cee1182
new testcase
...
llvm-svn: 27234
2006-03-28 20:32:12 +00:00
Evan Cheng
844a45d59b
Use movhpd is even better than movlhps.
...
llvm-svn: 27217
2006-03-28 06:40:57 +00:00
Jim Laskey
2ea724cddf
Regression test for the handling of nulls as arguments to debug intrinsics.
...
llvm-svn: 27204
2006-03-28 01:34:14 +00:00
Andrew Lenharth
4a89e2e9ec
Adding links to a node collapsed during type merging crashes.
...
llvm-svn: 27193
2006-03-27 23:38:48 +00:00
Chris Lattner
6691ca3775
Correct the vandc testcase
...
llvm-svn: 27137
2006-03-25 23:12:47 +00:00
Chris Lattner
f66831e751
new testcases
...
llvm-svn: 27134
2006-03-25 23:04:34 +00:00
Evan Cheng
361c9f8274
Add a BUILD_VECTOR with unpack and interleave testcase.
...
llvm-svn: 27121
2006-03-25 09:48:14 +00:00
Chris Lattner
5359171003
New tests for vsplti*
...
llvm-svn: 27105
2006-03-25 06:11:56 +00:00
Evan Cheng
f4729d1052
Added a scalar to vector with zero extension testcase
...
llvm-svn: 27101
2006-03-25 05:58:52 +00:00
Chris Lattner
c576661131
New testcase
...
llvm-svn: 27067
2006-03-24 17:57:24 +00:00
Evan Cheng
70848e8e56
Zero vector testcase
...
llvm-svn: 27061
2006-03-24 08:02:50 +00:00
Chris Lattner
23fd653efd
new testcase
...
llvm-svn: 27058
2006-03-24 07:47:53 +00:00
Chris Lattner
c097dae155
fix two spellos
...
llvm-svn: 27050
2006-03-24 07:13:29 +00:00
Evan Cheng
e843f59d4f
Add a v2f64 shuffle case.
...
llvm-svn: 27038
2006-03-24 02:56:00 +00:00
Evan Cheng
e66be95ce2
Add a vector shuffle test case
...
llvm-svn: 27027
2006-03-24 01:22:25 +00:00
Reid Spencer
edde6be3d8
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
Reid Spencer
ce8a2b9603
Ignore some files that occur when srcdir = objdir.
...
llvm-svn: 27007
2006-03-23 23:24:46 +00:00
Chris Lattner
64b7e9ad91
add some tests for typecasts and extract_element
...
llvm-svn: 26998
2006-03-23 21:15:57 +00:00
Evan Cheng
8e4c9ff3dc
Replace vector splat test case.
...
llvm-svn: 26963
2006-03-22 21:39:25 +00:00
Evan Cheng
fce9a3396b
Add a v2f64 splat (using movlhps) test case.
...
llvm-svn: 26962
2006-03-22 20:29:11 +00:00
Chris Lattner
35079019fc
test that vspltw is generated for test cases
...
llvm-svn: 26955
2006-03-22 19:12:46 +00:00
Chris Lattner
a7afeff875
Add an integer splat test
...
llvm-svn: 26923
2006-03-21 18:27:27 +00:00
Chris Lattner
38f0894066
new testcase
...
llvm-svn: 26906
2006-03-20 22:37:05 +00:00
Evan Cheng
9197775968
Option -enable-x86-lsr has been removed
...
llvm-svn: 26903
2006-03-20 18:26:11 +00:00
Chris Lattner
2a028e2f95
new testcase, contributed by Eric Kidd.
...
llvm-svn: 26871
2006-03-19 19:36:32 +00:00
Chris Lattner
131cfed1c3
add a new testcase. This insertelement should be a noop on SSE.
...
llvm-svn: 26859
2006-03-19 05:46:51 +00:00
Chris Lattner
1d09681edb
add another testcase, explicitly check stuff works with G5 and G3 codegen on
...
PPC.
llvm-svn: 26854
2006-03-19 04:45:11 +00:00
Chris Lattner
891af0b15e
add two new insert_element tests
...
llvm-svn: 26850
2006-03-19 01:27:04 +00:00
Chris Lattner
a982c7ee87
Add three new testcases
...
llvm-svn: 26844
2006-03-19 00:20:03 +00:00
Chris Lattner
544dab3a35
update testcases for x86 fastcc changes.
...
llvm-svn: 26842
2006-03-18 23:48:54 +00:00
Nate Begeman
41767dd142
Add a missing testcase
...
llvm-svn: 26834
2006-03-17 22:39:45 +00:00
Chris Lattner
da2b6ee1d6
new testcase
...
llvm-svn: 26832
2006-03-17 20:04:40 +00:00
Evan Cheng
e28ad7eaf1
Add a lsr common loop invariant hoisting test case
...
llvm-svn: 26827
2006-03-17 19:45:54 +00:00
Chris Lattner
8aa2b66653
new testcase that broke the new f.e.
...
llvm-svn: 26826
2006-03-17 18:01:17 +00:00
Chris Lattner
cce5eef431
New testcase, the new CFE compiles this into insertelement instructions, the
...
old one crashes.
llvm-svn: 26794
2006-03-16 18:47:51 +00:00
Reid Spencer
0d42f696a6
Add a RUN: line so this test doesn't fail.
...
llvm-svn: 26790
2006-03-16 03:05:57 +00:00
Andrew Lenharth
18e788e452
better check
...
llvm-svn: 26780
2006-03-15 19:02:54 +00:00
Evan Cheng
f49357f81d
Also requires -mattr=-sse3
...
llvm-svn: 26778
2006-03-15 18:05:13 +00:00
Chris Lattner
e5a2155be9
new testcase from a FIXME in the code
...
llvm-svn: 26756
2006-03-14 08:13:09 +00:00
Chris Lattner
c714f268bf
Test that we can reassociate (x<<1)+(y<<1) -> (X+Y)<<1.
...
llvm-svn: 26752
2006-03-14 06:54:32 +00:00
Jim Laskey
e1421afc72
Remove the use of llvm.dbg.declare.
...
llvm-svn: 26744
2006-03-14 01:53:11 +00:00
Chris Lattner
9f02a3f456
new testcase
...
llvm-svn: 26726
2006-03-13 06:50:47 +00:00
Chris Lattner
22d1d651ea
Simplify this testcase
...
llvm-svn: 26699
2006-03-10 22:32:18 +00:00
Chris Lattner
0a171d33ca
weak globals on darwin require an extra load, breaking this test
...
llvm-svn: 26695
2006-03-10 17:55:10 +00:00
Evan Cheng
bee0b5b83e
Add a test case for (store (op (load ..) ..) ..) folding.
...
llvm-svn: 26656
2006-03-09 19:04:30 +00:00
Chris Lattner
f133c26a0b
Update these tests (which use autoupgrade) to run constprop and check
...
that the file parses.
llvm-svn: 26655
2006-03-09 18:43:07 +00:00
Chris Lattner
fd9bf36070
Automatically pass -emit-llvm to llvmgcc when using %llvmgcc
...
llvm-svn: 26623
2006-03-08 22:32:20 +00:00
Chris Lattner
78b4fc15bb
Pass -emit-llvm automatically to %llvmgcc and %llvmg++ to fix regression
...
tests with the new f.e.
llvm-svn: 26622
2006-03-08 22:28:19 +00:00
Chris Lattner
d312f73022
new testcase that should have been added long ago.
...
llvm-svn: 26601
2006-03-07 22:33:00 +00:00
Chris Lattner
f118a41fb0
new testcase
...
llvm-svn: 26596
2006-03-07 17:56:31 +00:00
Chris Lattner
9b4ebee871
new regression test
...
llvm-svn: 26579
2006-03-06 23:52:37 +00:00
Chris Lattner
cbde100850
new testcase I forgot to check in earlier
...
llvm-svn: 26565
2006-03-05 23:53:04 +00:00
Chris Lattner
818c54925e
new testcase for vector narrowing.
...
llvm-svn: 26537
2006-03-05 00:21:28 +00:00
Chris Lattner
ca7e9664a7
new testcase
...
llvm-svn: 26534
2006-03-04 23:31:49 +00:00
Chris Lattner
f97c7f5dbb
new testcase
...
llvm-svn: 26525
2006-03-04 09:35:02 +00:00
Chris Lattner
ba66f8e1ad
new testcase
...
llvm-svn: 26518
2006-03-04 06:02:36 +00:00
Chris Lattner
05285fbf5b
new testcase
...
llvm-svn: 26514
2006-03-04 02:05:07 +00:00
Chris Lattner
efef036443
New testcase, make sure nate doesn't vanish
...
llvm-svn: 26511
2006-03-04 00:47:12 +00:00
Evan Cheng
9929793411
Add another test case for instruction scheduling.
...
llvm-svn: 26507
2006-03-03 18:58:09 +00:00
Chris Lattner
f7d616278e
Remove these testcases. These intrinsics are going away
...
llvm-svn: 26478
2006-03-03 00:16:23 +00:00
Chris Lattner
3c2733b090
new testcases
...
llvm-svn: 26473
2006-03-02 23:56:23 +00:00
Evan Cheng
dc41f80f70
Add a regression test for bug 478.
...
llvm-svn: 26471
2006-03-02 21:48:34 +00:00
Chris Lattner
dad25c7f22
add a couple more cases
...
llvm-svn: 26468
2006-03-02 06:50:04 +00:00
Chris Lattner
c652c30772
testcase that crashed the new CFE
...
llvm-svn: 26465
2006-03-01 22:45:12 +00:00
Chris Lattner
4a6d29d008
new testcase
...
llvm-svn: 26458
2006-03-01 21:46:53 +00:00
Chris Lattner
0454b2d080
load (x|y) -> load (x+y) iff x and y have no common bits.
...
llvm-svn: 26449
2006-03-01 07:13:56 +00:00
Chris Lattner
160cc92461
new testcase. These functions shouldn't touch the stack if stfiwx use
...
is enabled.
llvm-svn: 26446
2006-03-01 05:49:05 +00:00
Chris Lattner
21d44e6dfe
new testcase. There should be no accesses to the stack for these functions.
...
llvm-svn: 26444
2006-03-01 04:56:33 +00:00
Chris Lattner
e8ddd8a72f
new testcase
...
llvm-svn: 26439
2006-03-01 03:43:38 +00:00
Evan Cheng
2a78abd411
Add a test case for left shift by 1. We should not be using lea for this.
...
llvm-svn: 26431
2006-02-28 23:57:45 +00:00
Chris Lattner
8c5f04d212
new testcase
...
llvm-svn: 26426
2006-02-28 19:46:56 +00:00
Chris Lattner
408fee7ad4
evan's recent x86 isel improvements have fixed this, though not in the way
...
originally envisioned :)
llvm-svn: 26422
2006-02-28 16:39:56 +00:00
Chris Lattner
d786b0e033
new testcases
...
llvm-svn: 26420
2006-02-28 06:54:19 +00:00
Chris Lattner
3059128d02
new testcases for PR712
...
llvm-svn: 26414
2006-02-28 05:48:56 +00:00
Chris Lattner
626f96431b
new testcase
...
llvm-svn: 26412
2006-02-28 05:30:48 +00:00
Chris Lattner
a8bd74d5d0
new testcases
...
llvm-svn: 26395
2006-02-27 02:36:19 +00:00
Chris Lattner
7422e470f3
New testcases
...
llvm-svn: 26393
2006-02-27 01:43:02 +00:00
Chris Lattner
3af2da1f3d
Reenable this
...
llvm-svn: 26391
2006-02-27 01:00:12 +00:00
Chris Lattner
255ab33177
new testcase
...
llvm-svn: 26387
2006-02-27 00:20:23 +00:00
Chris Lattner
69c68c3c3e
new testcase
...
llvm-svn: 26384
2006-02-26 19:55:30 +00:00
Evan Cheng
74de65aacd
New test case: use lea for imul by some constants.
...
llvm-svn: 26378
2006-02-25 10:16:10 +00:00
Evan Cheng
5c1e1ca29f
lea.ll is XFAIL until we implement convertToThreeAddress.
...
llvm-svn: 26377
2006-02-25 10:15:22 +00:00
Chris Lattner
b8d9667087
this fails, mark it as such
...
llvm-svn: 26370
2006-02-25 08:18:43 +00:00
Evan Cheng
94d5466fa1
Add a test case for 'lea'.
...
llvm-svn: 26322
2006-02-23 00:12:12 +00:00
Chris Lattner
a61d2e8878
new testcase distilled from SPASS
...
llvm-svn: 26319
2006-02-22 23:54:15 +00:00
Chris Lattner
88b8e3bb71
new testcase that crashes simplifycfg
...
llvm-svn: 26274
2006-02-18 00:32:44 +00:00
Nate Begeman
8d0e47a017
A few final (for now) tests
...
llvm-svn: 26267
2006-02-17 21:38:45 +00:00
Nate Begeman
6aee554aa1
Yet another test
...
llvm-svn: 26266
2006-02-17 21:32:46 +00:00
Nate Begeman
5e176da364
New tests!
...
llvm-svn: 26265
2006-02-17 21:22:08 +00:00
Nate Begeman
42c9e4df6f
Fix a comment sabre noticed :)
...
llvm-svn: 26257
2006-02-17 06:24:31 +00:00
Nate Begeman
669ad7ea19
A couple new regression tests to make sure we always pattern match the new
...
opcodes on ppc.
llvm-svn: 26256
2006-02-17 06:16:56 +00:00
Jim Laskey
1fcabe2016
Code sufficiently protected against this test.
...
llvm-svn: 26213
2006-02-15 17:20:59 +00:00
Chris Lattner
684f911241
new testcase that broke unswitch due to loopsimplify not doing the right thing.
...
llvm-svn: 26190
2006-02-14 23:07:29 +00:00
Chris Lattner
8081f40b50
new testcase
...
llvm-svn: 26154
2006-02-13 23:07:02 +00:00
Chris Lattner
5898effde0
testcase reduced from Ptrdist/bc that is miscompiled by recent instcombine changes.
...
llvm-svn: 26151
2006-02-13 22:31:50 +00:00
Andrew Lenharth
a3bc7b8a85
test for improved zap discovery
...
llvm-svn: 26147
2006-02-13 18:52:01 +00:00
Chris Lattner
d062f09026
this passes now, due to Nate's recent efforts
...
llvm-svn: 26140
2006-02-13 07:26:36 +00:00
Chris Lattner
4c388281c1
Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
...
llvm-svn: 26139
2006-02-13 07:02:50 +00:00
Evan Cheng
0684e9ae6d
Added a test case for a libcall insertion bug.
...
llvm-svn: 26137
2006-02-12 10:24:00 +00:00
Chris Lattner
e6ebe1af61
tweaks
...
llvm-svn: 26133
2006-02-12 08:01:35 +00:00
Chris Lattner
2234a136b3
new testcase
...
llvm-svn: 26130
2006-02-12 02:06:31 +00:00
Chris Lattner
5e488c9cc2
move a failing testcase from bit-tracking.ll to narrow.ll, and move the
...
xfail marker with it
llvm-svn: 26129
2006-02-12 02:02:43 +00:00
Chris Lattner
8e99b0baca
Make these tests fail if opt crashes.
...
llvm-svn: 26127
2006-02-12 01:32:58 +00:00
Chris Lattner
f3ed03481a
Update comments to be actually accurate
...
llvm-svn: 26124
2006-02-11 09:37:07 +00:00
Chris Lattner
00601c0c7e
This is implemented by the simplify-libcalls pass, not instcombine
...
llvm-svn: 26123
2006-02-11 09:33:28 +00:00
Chris Lattner
11f380962b
new testcase
...
llvm-svn: 26086
2006-02-09 07:38:30 +00:00
Chris Lattner
e19b89f59c
this apparently passes on linux
...
llvm-svn: 26082
2006-02-09 07:12:13 +00:00
Jim Laskey
15f9188d73
Disable this test for the time being as debug is brought up to speed.
...
llvm-svn: 26063
2006-02-08 18:17:06 +00:00
Chris Lattner
d82b2036e9
new testcase for more interesting select sccp cases
...
llvm-svn: 26048
2006-02-08 02:37:40 +00:00
Chris Lattner
ee278d9417
new testcase that caused instcombine to crash on 176.gcc last night.
...
llvm-svn: 26039
2006-02-07 19:07:25 +00:00
Chris Lattner
b624bb5f0d
new testcases
...
llvm-svn: 26002
2006-02-05 07:52:47 +00:00
Chris Lattner
90263ea903
These were moved to ../SPARC
...
llvm-svn: 25987
2006-02-05 05:53:48 +00:00
Chris Lattner
a590d80e5b
move V8 testcases here
...
llvm-svn: 25986
2006-02-05 05:52:55 +00:00
Evan Cheng
d65461c232
Added a (store (op (load ...) ...) ...) folding test case.
...
llvm-svn: 25933
2006-02-03 06:46:41 +00:00
Chris Lattner
166ea0eda7
new testcase
...
llvm-svn: 25897
2006-02-02 06:35:38 +00:00
Andrew Lenharth
14a7d8ff1e
test cmov immediate form
...
llvm-svn: 25881
2006-02-01 19:36:52 +00:00
Chris Lattner
7975f04e1f
new testcase for the 'ret double folding with load' opzn
...
llvm-svn: 25868
2006-02-01 01:45:02 +00:00
Chris Lattner
0fe1e5842f
new testcase
...
llvm-svn: 25835
2006-01-31 06:01:40 +00:00
Evan Cheng
cf94750d38
Don't generate (or setp, setae) for SETUGE. Simply flip the operands around and
...
generate SETULT instead.
llvm-svn: 25823
2006-01-30 23:39:40 +00:00
Chris Lattner
4ea4dba8d9
new testcase for the 'C++' failures last night.
...
llvm-svn: 25820
2006-01-30 22:43:10 +00:00
Chris Lattner
3ef3dad1af
new testcase
...
llvm-svn: 25813
2006-01-30 06:11:36 +00:00
Evan Cheng
6a92822173
Use Intel assembly syntax to look for ST
...
llvm-svn: 25713
2006-01-27 22:51:51 +00:00
Evan Cheng
822f629538
X86 dag isel is now (soon) the default.
...
llvm-svn: 25699
2006-01-27 21:15:22 +00:00
Evan Cheng
7ca86912b7
These are fp stack test cases.
...
llvm-svn: 25698
2006-01-27 21:14:23 +00:00
Evan Cheng
a3b41703f0
XFAIL tailcall test cases until it's implemented.
...
llvm-svn: 25697
2006-01-27 21:13:27 +00:00
Reid Spencer
6e2135d5f9
A test case for ensuring that conversion of old-format intrinsics with
...
signed arguments get auto-upgraded correctly.
llvm-svn: 25681
2006-01-27 11:28:48 +00:00
Reid Spencer
b3cd77f9c3
This now passes.
...
llvm-svn: 25680
2006-01-27 11:27:37 +00:00
Andrew Lenharth
b0a3ebd766
added a couple test cases, including the new vaarg breakage
...
llvm-svn: 25648
2006-01-26 17:43:42 +00:00
Chris Lattner
3ccaf6ecb0
new tests for actual inline asm expressions
...
llvm-svn: 25625
2006-01-25 23:49:54 +00:00
Chris Lattner
317b5d5efb
testcase that crashes scalarrepl
...
llvm-svn: 25586
2006-01-24 19:34:57 +00:00
Chris Lattner
0ff4b9914c
This is still broken
...
llvm-svn: 25583
2006-01-24 06:13:48 +00:00
Chris Lattner
7ecf56aec4
new c front-end testcase
...
llvm-svn: 25579
2006-01-24 05:01:39 +00:00
Chris Lattner
a1280ad4d9
minor syntax change
...
llvm-svn: 25566
2006-01-24 00:37:20 +00:00
Chris Lattner
243f7296e5
new testcase
...
llvm-svn: 25562
2006-01-23 23:24:13 +00:00
Chris Lattner
c7243b5b70
Testcase that failed due to a legalizer bug
...
llvm-svn: 25537
2006-01-23 07:30:14 +00:00
Chris Lattner
56b39c0c32
this option is gone, the dag isel is the default now
...
llvm-svn: 25536
2006-01-23 07:21:12 +00:00
Chris Lattner
117367e974
make this test harder
...
llvm-svn: 25533
2006-01-23 07:07:51 +00:00
Chris Lattner
4bfe10dab1
add new tests
...
llvm-svn: 25529
2006-01-23 06:24:17 +00:00
Chris Lattner
fdcc0d99cd
Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
...
llvm-svn: 25524
2006-01-23 05:56:34 +00:00
Chris Lattner
48021ed4d4
new testcase that crashes llc for ppc
...
llvm-svn: 25495
2006-01-21 04:25:07 +00:00
Reid Spencer
855d31f847
Add a test case for PR697, ensuring the linker works with ConstantPacked.
...
llvm-svn: 25475
2006-01-20 01:31:58 +00:00
Evan Cheng
9a4ab9660f
Added a load folding bug test case.
...
llvm-svn: 25472
2006-01-20 01:12:23 +00:00
Chris Lattner
ef25927f4f
Add a new testcase for an eliminable cast
...
llvm-svn: 25451
2006-01-19 07:39:20 +00:00
Reid Spencer
9ce6f39ccb
This test passes now.
...
llvm-svn: 25449
2006-01-19 07:15:47 +00:00
Chris Lattner
800ad5287c
make this work for Reid, who renamed his CVS module dir :)
...
llvm-svn: 25443
2006-01-19 06:49:46 +00:00
Chris Lattner
76a08b2f18
new testcase the autoupgrader in the bc reader fails to handle
...
llvm-svn: 25442
2006-01-19 06:15:34 +00:00
Reid Spencer
e64af05eed
Expand test to cover the non-overloaded variants of the arithmetic and
...
floating point intrinsics.
llvm-svn: 25431
2006-01-19 01:17:06 +00:00
Andrew Lenharth
88f3d3f893
a reduced test case, the GlobalAddress is never legalized
...
llvm-svn: 25427
2006-01-18 22:59:33 +00:00
Chris Lattner
48e653ea88
new testcase
...
llvm-svn: 25420
2006-01-18 19:16:07 +00:00
Chris Lattner
4d148f2ece
this testcase sent the dag combiner spinning into an infinite loop
...
llvm-svn: 25418
2006-01-18 19:13:11 +00:00
Robert Bocchino
1763a44ac2
Test case for the insertelement operation.
...
llvm-svn: 25409
2006-01-17 20:07:30 +00:00
Chris Lattner
514a8f89d0
Ensure that the CFE always emits intrinsics in their unsigned version, not with signed operands
...
llvm-svn: 25390
2006-01-17 06:24:01 +00:00
Andrew Lenharth
4aa90b347f
this is fixed
...
llvm-svn: 25370
2006-01-16 21:22:42 +00:00
Chris Lattner
45496f0beb
Fix these testcases :(
...
Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and
renamed ornot to eqv
llvm-svn: 25360
2006-01-16 16:34:39 +00:00
Chris Lattner
fe5cb66e9d
This pass has been removed.
...
llvm-svn: 25350
2006-01-16 01:06:43 +00:00
Chris Lattner
7eb2947546
New testcase for a regression last night: the -inline pass wasn't updating
...
callgraph to include new edges do to inserted llvm.stacksave/llvm.stackrestore
calls.
llvm-svn: 25319
2006-01-14 20:07:07 +00:00
Nate Begeman
2fba8a3aaa
bswap implementation
...
llvm-svn: 25312
2006-01-14 03:14:10 +00:00
Nate Begeman
82049eba2c
Add bswap intrinsics as documented in the Language Reference
...
llvm-svn: 25309
2006-01-14 01:25:24 +00:00
Jim Laskey
2d7162aaf4
testcase for PR676: http://llvm.cs.uiuc.edu/PR676
...
llvm-svn: 25306
2006-01-14 00:29:48 +00:00
Chris Lattner
403a11ca8f
testcase for PR691
...
llvm-svn: 25298
2006-01-13 22:05:36 +00:00
Chris Lattner
db8c13acf3
new testcases for the stackrestore instcombine optimizations
...
llvm-svn: 25297
2006-01-13 22:01:47 +00:00
Chris Lattner
accc5bfe92
New testcase that functions with dynamic allocas can be inlined, and are
...
inlined correctly.
llvm-svn: 25287
2006-01-13 19:35:05 +00:00
Chris Lattner
00720d8ff0
testcase for the llvm.stacksave/llvm.stackrestore intrinsics.
...
llvm-svn: 25269
2006-01-13 02:25:08 +00:00
Evan Cheng
6d47166964
Test case for a SETCC / BRCOND folding bug.
...
llvm-svn: 25258
2006-01-13 01:02:22 +00:00
Duraid Madina
dd8168d7be
verily, sabre did leave
...
and yea! Saem said "ARRR."
meanwhile, the pinksias and the campfires and the ET forests glowed.
llvm-svn: 25240
2006-01-12 02:50:34 +00:00
Nate Begeman
c040152f94
Add testcase for rotate by register and rotate by immediate
...
llvm-svn: 25228
2006-01-11 22:58:12 +00:00
Chris Lattner
ed23fdd9cf
Testcase the PPC backend is miscompiling.
...
llvm-svn: 25216
2006-01-11 18:15:37 +00:00
Chris Lattner
7e60169a64
catch all forms of xnor
...
llvm-svn: 25208
2006-01-11 07:13:22 +00:00
Chris Lattner
13d1474d43
new testcase for extractelement instruction
...
llvm-svn: 25186
2006-01-10 20:00:20 +00:00
Chris Lattner
6084664580
Modify this test to not depend on the host math.h implementation
...
llvm-svn: 25138
2006-01-07 01:37:25 +00:00
Chris Lattner
60d3002606
A case that instcombine is not catching.
...
llvm-svn: 25127
2006-01-06 07:48:28 +00:00
Chris Lattner
b844284a05
new tests, derived from cosmics scheme output
...
llvm-svn: 25111
2006-01-05 07:46:46 +00:00
Andrew Lenharth
0e5ba1d1fe
Change this regression so andi is not a valid codegen of it
...
llvm-svn: 25056
2006-01-01 22:14:31 +00:00
Chris Lattner
4621dc8861
this test fails
...
llvm-svn: 24994
2005-12-23 16:14:29 +00:00
Chris Lattner
e519f065cc
this test is malformed
...
llvm-svn: 24993
2005-12-23 16:13:52 +00:00
Reid Spencer
8f8124edaa
Fix PR409:
...
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.
llvm-svn: 24963
2005-12-22 21:07:29 +00:00
Chris Lattner
e5cdb4e6f2
new testcase
...
llvm-svn: 24902
2005-12-21 17:52:42 +00:00
Chris Lattner
c6b578da26
new testcase, fails on X86 and probably others
...
llvm-svn: 24894
2005-12-21 05:09:57 +00:00
Chris Lattner
0d129ae8b1
A truly trivial testcase to ensure sparcv8 doesn't get completely broken
...
again.
llvm-svn: 24737
2005-12-16 06:24:55 +00:00
Nate Begeman
7853983b40
Add a case for float just to make sure the patterns for both precisions
...
are matching
llvm-svn: 24718
2005-12-14 22:51:13 +00:00
Chris Lattner
eaee560c96
new testcase, each function should have one extension instr in it
...
llvm-svn: 24711
2005-12-14 19:24:08 +00:00
Chris Lattner
f69abd13d4
new (undefined) testcase, distilled from 126.gcc that scalarrepl crashes on
...
llvm-svn: 24707
2005-12-14 17:23:20 +00:00
Chris Lattner
1b668bc808
Testcase for a problem that reid ran into
...
llvm-svn: 24676
2005-12-12 22:27:22 +00:00
Chris Lattner
cf510b36c1
new testcase: sra should be able to eliminate all of these alloca's, despite
...
the presense of pointer casts
llvm-svn: 24666
2005-12-12 07:18:59 +00:00
Chris Lattner
98dcd12c28
new testcase for PR662
...
llvm-svn: 24618
2005-12-06 17:29:54 +00:00
Chris Lattner
b0e9741022
New testcase for PR660
...
llvm-svn: 24601
2005-12-05 04:48:12 +00:00
Chris Lattner
7b43664aa0
testcase for PR664
...
llvm-svn: 24600
2005-12-05 03:22:46 +00:00
Chris Lattner
394350dcca
new testcase, for PR672
...
llvm-svn: 24584
2005-12-04 06:03:25 +00:00
Chris Lattner
3339c6a1f6
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
2492b74330
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
bd23d34be0
Fix a bug in the testcase
...
llvm-svn: 24579
2005-12-03 17:20:57 +00:00
Chris Lattner
5d7a0a3aee
new testcase for PR672
...
llvm-svn: 24577
2005-12-03 07:14:47 +00:00
Chris Lattner
e4ffb9a57d
New testcase that crashes llc
...
llvm-svn: 24570
2005-12-01 23:14:09 +00:00
Chris Lattner
bd065599e6
Test that crashes the ppc backend.
...
llvm-svn: 24546
2005-11-30 20:40:28 +00:00
Chris Lattner
6299905a06
new testcase dse is miscompiling
...
llvm-svn: 24544
2005-11-30 19:37:08 +00:00
Chris Lattner
7cc680ab79
new testcase for pr670
...
llvm-svn: 24507
2005-11-29 01:06:51 +00:00
Chris Lattner
cde2a174a7
This should not be dce'd
...
llvm-svn: 24433
2005-11-20 21:46:52 +00:00
Andrew Lenharth
4db9ae7aa3
oops
...
llvm-svn: 24432
2005-11-20 21:42:49 +00:00
Andrew Lenharth
c943f6bfae
check that rdtsc is generated from readcyclecounter
...
llvm-svn: 24431
2005-11-20 21:41:59 +00:00
Chris Lattner
26904c7ac9
testcase for recent indvars patches
...
llvm-svn: 24415
2005-11-18 19:38:15 +00:00
Chris Lattner
b1ded32f3b
This passes on ppc and x86 now
...
llvm-svn: 24378
2005-11-16 07:24:31 +00:00
Chris Lattner
b04c88cf05
this is no apparently passing on alpha
...
llvm-svn: 24331
2005-11-12 18:35:13 +00:00
Chris Lattner
d6f99000e6
new testcase
...
llvm-svn: 24310
2005-11-12 00:10:02 +00:00
Andrew Lenharth
01aa56397d
continued readcyclecounter support
...
llvm-svn: 24300
2005-11-11 16:47:30 +00:00
Chris Lattner
b8e8cbec50
Check that this compiles to a label with a space in it.
...
llvm-svn: 24284
2005-11-10 19:33:04 +00:00
John Criswell
3bdbd3024b
Merged from RELEASE_16.
...
llvm-svn: 24243
2005-11-08 21:11:33 +00:00
Chris Lattner
cc99ec2a14
add alignment info for globals and functions
...
llvm-svn: 24213
2005-11-06 06:52:11 +00:00
Chris Lattner
6ce0ad3f74
new testcase
...
llvm-svn: 24202
2005-11-05 22:07:30 +00:00
Chris Lattner
7a4c694ef7
New testcase
...
llvm-svn: 24191
2005-11-05 08:20:28 +00:00
Andrew Lenharth
8426ee14be
This is missed by InstCombine, patch comming
...
llvm-svn: 24157
2005-11-02 18:34:05 +00:00
Chris Lattner
b7147f6027
Apparently these do pass on some alphas
...
llvm-svn: 24125
2005-10-31 19:06:13 +00:00
Chris Lattner
14ada0fd4e
these tests fail on alpha for some reason
...
llvm-svn: 24120
2005-10-31 16:15:49 +00:00
Chris Lattner
6beef90324
new testcase
...
llvm-svn: 24112
2005-10-30 19:42:18 +00:00
Chris Lattner
48131a8254
The pass was removed, but the spirit lives on
...
llvm-svn: 24108
2005-10-30 07:22:15 +00:00
Chris Lattner
9cc9f0fca1
new testcase
...
llvm-svn: 24103
2005-10-30 06:37:33 +00:00
Chris Lattner
67315dc888
new testcase
...
llvm-svn: 24099
2005-10-30 05:14:02 +00:00
Duraid Madina
e71426f581
test for the formation of shladd
...
llvm-svn: 24077
2005-10-29 04:06:49 +00:00
Chris Lattner
e2fb63ea95
add the xfail lines
...
llvm-svn: 24066
2005-10-28 19:57:55 +00:00
Chris Lattner
225022e4b0
New testcase. Probably many targets don't support this, so they should probably
...
add themselves as xfails until they do (at least for the release).
llvm-svn: 24065
2005-10-28 19:52:02 +00:00
Nate Begeman
b2f9801555
Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
...
backend.
llvm-svn: 23995
2005-10-25 23:53:21 +00:00
Chris Lattner
b8709e3c25
This pass is gone
...
llvm-svn: 23955
2005-10-24 04:18:05 +00:00
Chris Lattner
629481c8e0
this pass is gone
...
llvm-svn: 23954
2005-10-24 04:17:31 +00:00
Chris Lattner
68b61a8c8f
New testcase that crashes the ppc backend
...
llvm-svn: 23871
2005-10-21 21:09:13 +00:00
John Criswell
b2544ff7a7
Moved to Regression/Codegen/Generic.
...
llvm-svn: 23829
2005-10-19 18:52:52 +00:00
John Criswell
14582b1a73
This is a generic test for all code generators. It originally came from
...
Regression/Codegen/X86.
llvm-svn: 23826
2005-10-19 18:51:07 +00:00
John Criswell
6b7df0ef4e
Force i386 code generation for an i386 specific test.
...
llvm-svn: 23821
2005-10-19 18:30:39 +00:00
Chris Lattner
38d7f2be4c
Testcase that crashes llvmgcc in type layout
...
llvm-svn: 23806
2005-10-19 00:52:21 +00:00
Chris Lattner
84b36df7e9
new testcase
...
llvm-svn: 23798
2005-10-18 22:13:39 +00:00
John Criswell
d122b68735
Use %s instead of hard coding the input filename.
...
This allows the test to work when srcdir != objdir.
llvm-svn: 23775
2005-10-17 21:54:18 +00:00
Chris Lattner
eeaf2094b8
Nate implemented this :)
...
llvm-svn: 23707
2005-10-13 06:04:34 +00:00
Chris Lattner
e1832ccf63
this passes with the change in predicate
...
llvm-svn: 23699
2005-10-11 18:42:26 +00:00
Chris Lattner
eb1579d308
lsr doesn't emit gep instructions anymore
...
llvm-svn: 23696
2005-10-11 18:28:48 +00:00
Chris Lattner
89a39f1508
new testcase
...
llvm-svn: 23689
2005-10-10 21:57:37 +00:00
Chris Lattner
4653985b86
A testcase sitting in my tree
...
llvm-svn: 23687
2005-10-10 21:21:36 +00:00
Chris Lattner
905c752559
Testcase that is miscompiled by the ppc backend
...
llvm-svn: 23669
2005-10-09 05:31:47 +00:00
Chris Lattner
db5d47e4dd
These don't need to be sdivs.
...
llvm-svn: 23661
2005-10-07 15:27:12 +00:00
Chris Lattner
437b9aa632
New testcase, should turn into a ushr
...
llvm-svn: 23658
2005-10-07 06:10:03 +00:00
Chris Lattner
bb6211bbe8
double to float casts should nto result in an fmr
...
llvm-svn: 23653
2005-10-07 04:59:41 +00:00
Chris Lattner
684e6cac7a
test broken in the IA64 backend.
...
llvm-svn: 23651
2005-10-07 04:49:00 +00:00
Chris Lattner
a6e98f2e85
new testcase for PR635
...
llvm-svn: 23615
2005-10-03 23:42:54 +00:00
Andrew Lenharth
5b8bd94ab2
more specific tests of subtarget stuff
...
llvm-svn: 23570
2005-09-30 20:30:24 +00:00
Chris Lattner
41815f2aa2
Add a test that you can forward ref a class.
...
llvm-svn: 23547
2005-09-30 04:52:43 +00:00
Chris Lattner
08321aa8cb
Check that we can refer to the same class we are defining.
...
llvm-svn: 23541
2005-09-30 04:10:17 +00:00
Chris Lattner
5de939e791
new testcase for isascii
...
llvm-svn: 23520
2005-09-29 06:16:37 +00:00
Chris Lattner
e94e6a9e62
add a new testcase
...
llvm-svn: 23518
2005-09-29 06:11:34 +00:00
Chris Lattner
a22f7a2e16
add a testcase for a feature we regressed on because noone wrote the test! :(
...
llvm-svn: 23513
2005-09-28 23:03:11 +00:00
Chris Lattner
afc5ba4f3a
add testcase for nand
...
llvm-svn: 23495
2005-09-28 18:08:58 +00:00
Chris Lattner
380fd4a413
Consolidate the eqv.ll and nor.ll files together.
...
Add a missed eqv case.
llvm-svn: 23493
2005-09-28 18:04:22 +00:00
Chris Lattner
e2b772b0ae
simple tests for nor generation
...
llvm-svn: 23491
2005-09-28 17:55:10 +00:00
Chris Lattner
b1fb4da271
Testcase for PR632
...
llvm-svn: 23483
2005-09-27 22:27:19 +00:00
Chris Lattner
e338f05ba6
new testcase the CBE creates invalid C code for
...
llvm-svn: 23474
2005-09-27 20:52:30 +00:00
Chris Lattner
6f726d2c1a
Add a simple testcase for lowerinvoke
...
llvm-svn: 23471
2005-09-27 18:34:31 +00:00
Chris Lattner
1f1fd227fb
add a new testcase for constant foldable calls
...
llvm-svn: 23464
2005-09-27 05:02:03 +00:00
Chris Lattner
3803cbb196
Add a more difficult testcase which uses a call to a helper function to do
...
the initialization
llvm-svn: 23461
2005-09-27 04:44:04 +00:00
Chris Lattner
46eeed89e5
Testcase that uses an alloca
...
llvm-svn: 23451
2005-09-26 17:06:32 +00:00
Chris Lattner
636fa212b9
add another case, this one that uses getelementptr instructions
...
llvm-svn: 23448
2005-09-26 06:51:50 +00:00
Chris Lattner
05035fe970
add a test for load
...
llvm-svn: 23440
2005-09-26 05:14:48 +00:00
Chris Lattner
543efbb71f
add another testcase with simple control flow
...
llvm-svn: 23438
2005-09-26 04:57:10 +00:00
Chris Lattner
6debcf3071
make this harder: put some code into it
...
llvm-svn: 23436
2005-09-26 04:43:01 +00:00
Chris Lattner
9db3c91a51
new testcase for static ctor list optimizations
...
llvm-svn: 23432
2005-09-26 01:42:03 +00:00
Chris Lattner
04d4a725ca
All of these should turn into sign extends (e.g. extsh/extsb on PPC)
...
llvm-svn: 23427
2005-09-24 23:42:18 +00:00
Chris Lattner
906d705644
Enhance this to check for a crash, add a case that crashes simplifylibcalls,
...
and add a case that has uses.
llvm-svn: 23424
2005-09-24 22:16:04 +00:00
Chris Lattner
379dea1999
new testcase that crashes the CFE
...
llvm-svn: 23423
2005-09-24 20:54:33 +00:00
Chris Lattner
a88736647b
new testcase for PR630
...
llvm-svn: 23422
2005-09-24 08:38:28 +00:00
Chris Lattner
62f565d198
new testcase
...
llvm-svn: 23409
2005-09-23 18:43:57 +00:00
Chris Lattner
c619d43155
new testcase
...
llvm-svn: 23402
2005-09-23 00:53:06 +00:00
Chris Lattner
5ff606401b
Testcase for PR629
...
llvm-svn: 23401
2005-09-21 06:53:56 +00:00
Chris Lattner
cb6d8173d2
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
168d2e5343
new testcase
...
llvm-svn: 23394
2005-09-20 00:41:55 +00:00
Chris Lattner
b2a9e8115b
new testcase.
...
llvm-svn: 23390
2005-09-19 23:48:04 +00:00
Chris Lattner
1813aabcf2
new testcase
...
llvm-svn: 23380
2005-09-18 05:10:39 +00:00
Chris Lattner
9136c832c4
new testcase
...
llvm-svn: 23378
2005-09-18 04:22:59 +00:00
Chris Lattner
c6d63a9832
new testcase
...
llvm-svn: 23375
2005-09-18 03:39:02 +00:00
Duraid Madina
a78635c1f0
fails since linux-itanium headers are Different
...
llvm-svn: 23326
2005-09-13 01:03:53 +00:00
Chris Lattner
42a6cefa49
new testcase
...
llvm-svn: 23323
2005-09-12 23:22:17 +00:00
Chris Lattner
20c1cc0741
new testcase
...
llvm-svn: 23321
2005-09-12 22:19:46 +00:00
Chris Lattner
4cd474ebbd
new testcase
...
llvm-svn: 23319
2005-09-12 21:59:22 +00:00
Chris Lattner
2ee807c70f
relax pattern match on name
...
llvm-svn: 23317
2005-09-12 17:09:40 +00:00
Chris Lattner
7efb86dc11
new testcase
...
llvm-svn: 23316
2005-09-12 17:08:15 +00:00
Chris Lattner
2bb00dda5a
new testcase
...
llvm-svn: 23312
2005-09-12 05:50:15 +00:00
Chris Lattner
ecd98d5d77
Make sure to disable 64-bit extensions for this test
...
llvm-svn: 23309
2005-09-11 03:50:38 +00:00
Chris Lattner
0c7728e4d6
new testcase
...
llvm-svn: 23305
2005-09-10 01:14:37 +00:00
Chris Lattner
db9f4b9db4
New testcase, neither should require a register-register copy
...
llvm-svn: 23290
2005-09-09 17:48:57 +00:00
Chris Lattner
1872ea3227
x and X should be structurally identical
...
llvm-svn: 23273
2005-09-08 18:47:43 +00:00
Nate Begeman
a53a310d8c
Test the new 64bit i64<->fp functionality
...
llvm-svn: 23251
2005-09-06 22:23:15 +00:00
Chris Lattner
23e2499ee4
new testcase: tblgen should grok this.
...
llvm-svn: 23247
2005-09-06 21:22:15 +00:00
Chris Lattner
63fab495bb
Test that converting from double to int64 results in one libcall, not one
...
and a dead one. This is a legalize bug
llvm-svn: 23227
2005-09-02 20:24:10 +00:00
Chris Lattner
ffb99034cf
new testcase to ensure fsqrt is generated for correct subtargets only, and
...
that the fsqrt feature works.
llvm-svn: 23217
2005-09-02 18:32:22 +00:00
Chris Lattner
b944d5a491
new testcase for recent bugfix
...
llvm-svn: 23212
2005-09-02 06:12:12 +00:00
Chris Lattner
97ac77fd91
This should permit NOT and's, not even dead ones.
...
llvm-svn: 23199
2005-09-02 00:13:56 +00:00
Chris Lattner
907123b1ab
Another case that shouldn't have sign extends: functions returning short
...
are known to return properly sign extended values, no need for an explicit
extension.
llvm-svn: 23197
2005-09-01 23:43:58 +00:00
Nate Begeman
13990fc286
Add regression test for efficient codegen of i32 x i32 -> hi32(i64) as
...
mulhs.
llvm-svn: 23183
2005-09-01 00:04:03 +00:00
Chris Lattner
0e6b11da03
Add a testcase for nate's patch
...
llvm-svn: 23172
2005-08-31 18:19:50 +00:00
Chris Lattner
38b3704d28
new testcase corresponding to PR621
...
llvm-svn: 23157
2005-08-30 21:02:51 +00:00
Chris Lattner
2188b4363f
The dag isel misses both of these, the pattern isel just misses the second
...
one. TODO :)
llvm-svn: 23156
2005-08-30 18:44:09 +00:00
Chris Lattner
347f5cb985
new testcase that crashes -reassociate
...
llvm-svn: 23018
2005-08-24 17:54:56 +00:00
Chris Lattner
16a382df29
new testcase
...
llvm-svn: 23016
2005-08-24 17:20:30 +00:00
Chris Lattner
03e64f6c1e
Make sure this doesn't break when we're improving the isels
...
llvm-svn: 23014
2005-08-24 16:48:49 +00:00
Chris Lattner
65de2689b4
New testcase for PR618
...
llvm-svn: 22983
2005-08-23 20:22:07 +00:00
Chris Lattner
db5f4fd643
Testcase for a crash in the legalizer on ia64. This is reduced from kc++.
...
llvm-svn: 22968
2005-08-22 17:16:49 +00:00
Chris Lattner
2ea31c09da
Add a long-overdue itanium regression test dir: hint hint Duraid :)
...
llvm-svn: 22967
2005-08-22 17:15:41 +00:00
Chris Lattner
7b6b326b2c
Fix a bug in the RUN line
...
llvm-svn: 22945
2005-08-21 16:37:36 +00:00
Chris Lattner
fd6afbc7f0
remove dead args
...
llvm-svn: 22900
2005-08-19 01:17:18 +00:00
Chris Lattner
298422f7e3
remove dead options
...
llvm-svn: 22899
2005-08-19 01:16:18 +00:00
Chris Lattner
4981e5248b
remove dead flags
...
llvm-svn: 22898
2005-08-19 01:14:40 +00:00
Jim Laskey
e7b3cf73e5
Unmangled names.
...
llvm-svn: 22875
2005-08-18 20:06:09 +00:00
Jim Laskey
35ca73d335
1. Fix comment.
...
2. Get an exact count of 'li ' instructions.
llvm-svn: 22872
2005-08-18 19:38:57 +00:00
Jim Laskey
6645e001c3
Add regression test to make sure that constants are generated optimally.
...
llvm-svn: 22871
2005-08-18 19:32:46 +00:00
Nate Begeman
70d9c5c340
Add a testcase for load short -> uint, which is currently emitted as a
...
zextload + sign_extend_inreg rather than a sextload.
llvm-svn: 22852
2005-08-18 03:11:44 +00:00
Chris Lattner
9b2efaf9c8
new testcase distilled from mesa
...
llvm-svn: 22842
2005-08-17 21:21:47 +00:00
Chris Lattner
3cf8ef170a
testcase that crashes lsr, distilled from 175.vpr
...
llvm-svn: 22796
2005-08-16 00:36:12 +00:00
Jim Laskey
461edda709
Added test cases to guarantee use of ORC and ANDC.
...
llvm-svn: 22772
2005-08-12 23:40:14 +00:00
Chris Lattner
f6a762ada1
testcase that crashed the ppc backend, distilled from crafty
...
llvm-svn: 22770
2005-08-12 23:34:03 +00:00
Jim Laskey
a50f770a2c
1. Added the function isOpcWithIntImmediate to simplify testing of operand with
...
specified opcode and an integer constant right operand.
2. Modified ISD::SHL, ISD::SRL, ISD::SRA to use rlwinm when applied after a mask.
llvm-svn: 22761
2005-08-11 21:59:23 +00:00
Chris Lattner
1a92cb2cd1
now that we handle non-constant strides, this testcase passes
...
llvm-svn: 22752
2005-08-10 17:17:45 +00:00
Chris Lattner
d54879c136
New testcase
...
llvm-svn: 22745
2005-08-10 02:06:35 +00:00
Chris Lattner
9af011cc11
new testcase
...
llvm-svn: 22743
2005-08-10 01:11:24 +00:00
Chris Lattner
08c7fd19e1
new testcase we handle
...
llvm-svn: 22741
2005-08-10 00:48:11 +00:00
Chris Lattner
832105d511
new testcase
...
llvm-svn: 22738
2005-08-10 00:33:01 +00:00
Chris Lattner
080f741f50
Add testcases for new rlwinm cases handled, patch by Jim Laskey!
...
llvm-svn: 22730
2005-08-09 20:24:16 +00:00
Chris Lattner
91fca092db
new reg test for a failure last night on ppc/darwin
...
llvm-svn: 22725
2005-08-09 18:07:45 +00:00
Chris Lattner
23e3fb9e83
This is now implemented
...
llvm-svn: 22723
2005-08-09 00:19:44 +00:00
Chris Lattner
319292a666
A testcase I don't want to break in the future
...
llvm-svn: 22718
2005-08-08 22:13:49 +00:00
Chris Lattner
ac86efb6a3
new testcase, not implemented yet
...
llvm-svn: 22703
2005-08-08 06:23:47 +00:00
Chris Lattner
03b6275fb8
It is better to not depend on CSE to share multiplies due to IV insertion.
...
This testcase checks that only one mul is present in the output code, as it
should be.
llvm-svn: 22701
2005-08-08 05:46:51 +00:00
Chris Lattner
7eecc6cb24
These are both implemented by a recent LSR patch
...
llvm-svn: 22700
2005-08-08 05:29:51 +00:00
Chris Lattner
d670e5c88a
New testcases for PR615
...
llvm-svn: 22689
2005-08-07 04:25:39 +00:00
Chris Lattner
d01cf9cfd0
teach TestRunner about prcontext
...
llvm-svn: 22683
2005-08-05 19:48:29 +00:00
Chris Lattner
8a9f9f4735
two simple testcases loopreduce should handle but does not yet currently
...
llvm-svn: 22682
2005-08-05 19:47:39 +00:00
Chris Lattner
f4c5ad8d61
new testcase that condprop should handle. The PHI node becomes useless
...
after threading the branch, because both operands are the same value.
llvm-svn: 22668
2005-08-05 00:59:55 +00:00
Chris Lattner
a75342d89f
add a testcase nate requested
...
llvm-svn: 22663
2005-08-04 22:49:32 +00:00
Chris Lattner
ed87aa97d4
This should not run lli, that is for llvm-test.
...
llvm-svn: 22656
2005-08-04 19:56:35 +00:00
Chris Lattner
af783c58cf
None of these tests should require a working lli, they are codegen tests,
...
not execution tests.
llvm-svn: 22655
2005-08-04 19:55:39 +00:00
Chris Lattner
faf17b43da
This testcase now passes
...
llvm-svn: 22651
2005-08-04 19:08:07 +00:00
Chris Lattner
9969c8613a
this is not implemented by lsr yet
...
llvm-svn: 22642
2005-08-04 01:18:48 +00:00
Chris Lattner
47b5732252
this now passes
...
llvm-svn: 22636
2005-08-03 22:51:40 +00:00
Chris Lattner
938ebaa2b0
Fix this to test the BE we care about
...
llvm-svn: 22631
2005-08-03 21:01:46 +00:00
Chris Lattner
c519a7e06e
new testcase for PR612
...
llvm-svn: 22627
2005-08-03 18:51:15 +00:00
Chris Lattner
89ba7922f4
new testcase for PR612
...
llvm-svn: 22625
2005-08-03 18:33:48 +00:00
Nate Begeman
b3b86d5692
Add a couple rlwinm tests for bitfield clears
...
llvm-svn: 22624
2005-08-03 18:27:17 +00:00
Nate Begeman
134628b4fb
Update rlwimi tests to catch all the cases we care about
...
llvm-svn: 22623
2005-08-03 18:11:23 +00:00
Chris Lattner
0ca5d9cb12
Testcase that used to crash simplifycfg
...
llvm-svn: 22622
2005-08-03 18:01:07 +00:00
Chris Lattner
42b635c70c
un-xfail this
...
llvm-svn: 22614
2005-08-03 00:58:44 +00:00
Chris Lattner
e972403215
This fails for now
...
llvm-svn: 22608
2005-08-03 00:10:28 +00:00
Chris Lattner
8530d6d0af
New testcase that caused simplifycfg to crash
...
llvm-svn: 22583
2005-08-02 03:23:03 +00:00
Chris Lattner
8a3d007d75
temporarily fail these two tests until LSR evolves to support them
...
llvm-svn: 22567
2005-08-01 17:10:50 +00:00
Chris Lattner
4c0f43edf6
this tests every fp-to-integer conversion
...
llvm-svn: 22562
2005-07-30 01:33:38 +00:00
Chris Lattner
7727bbfb06
New testcase for PR610
...
llvm-svn: 22545
2005-07-28 20:18:33 +00:00
Chris Lattner
f7100ad225
Testcase for PR607
...
llvm-svn: 22519
2005-07-26 22:08:53 +00:00
Andrew Lenharth
3fe8a6b104
make sure we always handle small negatives well
...
llvm-svn: 22503
2005-07-22 21:53:35 +00:00
Chris Lattner
9762834a7f
new testcase for PR602
...
llvm-svn: 22495
2005-07-21 21:55:08 +00:00
Chris Lattner
4e6c118b4d
If errno doesn't matter (e.g. in -ffast-math scenarios), sqrt* should be
...
compiled to llvm.sqrt.
llvm-svn: 22488
2005-07-21 01:09:27 +00:00
Chris Lattner
24b350039b
Allow this to pass on non-linux systems as well, such as darwin
...
llvm-svn: 22484
2005-07-20 19:12:00 +00:00
Chris Lattner
14568496c0
set the target triple so that we don't fail due to X86 abi issues
...
llvm-svn: 22479
2005-07-20 03:56:48 +00:00
John Criswell
b249d409be
Regression test for PR#596: Make sure that negation of a minus doesn't
...
turn into a C predecrement operator.
llvm-svn: 22438
2005-07-14 19:56:03 +00:00
Chris Lattner
330d3acee8
new testcase for PR593
...
llvm-svn: 22418
2005-07-13 01:57:39 +00:00
Chris Lattner
27e4e8e1b8
new testcase that crashes llc on x86/ppc. Not generated by C/C++ or LLVM
...
though.
llvm-svn: 22416
2005-07-13 01:42:03 +00:00
Reid Spencer
4f61c64639
Add a test that runs the ParallelJIT example program to ensure that the
...
JIT can run against a multi-threaded program without getting its data
structures messed up. Also had to add the examples directory to the path
for the tests so that ParallelJIT can be found.
llvm-svn: 22415
2005-07-13 00:35:12 +00:00
Chris Lattner
2d0f468cd2
New testcase distilled from a large chunk of code Misha sent me.
...
llvm-svn: 22347
2005-07-07 20:39:45 +00:00
Chris Lattner
ba613f478a
new testcase for PR590
...
llvm-svn: 22317
2005-06-30 07:28:54 +00:00
Reid Spencer
ef0d7c6af6
Fix this test case to actually test the new va_arg instruction not the
...
old vaarg instruction.
llvm-svn: 22256
2005-06-18 20:27:32 +00:00
Andrew Lenharth
435054cd1b
new vararg test
...
llvm-svn: 22252
2005-06-18 18:30:37 +00:00
Chris Lattner
e708353d04
new testcase for PR586
...
llvm-svn: 22235
2005-06-17 03:58:30 +00:00
Chris Lattner
d230aee4be
new testcase for PR585
...
llvm-svn: 22233
2005-06-17 02:04:47 +00:00
Chris Lattner
29ae6f6ed9
new testcase for PR584
...
llvm-svn: 22231
2005-06-17 01:45:03 +00:00
Chris Lattner
69d21ed707
new testcase for PR583
...
llvm-svn: 22226
2005-06-16 04:55:29 +00:00
Chris Lattner
0c2be5094c
new testcase for PR580
...
llvm-svn: 22222
2005-06-15 22:42:53 +00:00
Chris Lattner
478158a4c5
new testcase for PR582
...
llvm-svn: 22220
2005-06-15 21:28:55 +00:00
Chris Lattner
11b4d966b7
new testcase for PR579
...
llvm-svn: 22218
2005-06-15 21:11:18 +00:00
Chris Lattner
b28f0ef40a
new testcase for PR577
...
llvm-svn: 22216
2005-06-15 20:52:39 +00:00
Reid Spencer
9c636a3b9b
Remove trailing blank line, just to test whether the new commit script
...
is going to credit the commit correctly or not.
llvm-svn: 22165
2005-05-21 01:29:30 +00:00
Chris Lattner
bb09f861cd
new testcase
...
llvm-svn: 22160
2005-05-20 22:25:44 +00:00
Chris Lattner
7e9e2e0ea9
New testcase that crashes simplifycfg, identified accidentally by JohnMC
...
llvm-svn: 22157
2005-05-20 22:19:34 +00:00
Reid Spencer
43a0f5bc54
Finally get the quoting right for both Unix and Windows for the llvmgcc and
...
llvmgxx programs. dejagnu doesn't understand single quote and we need to
pass double quotes through to the shell in order to escape blanks in the
paths. This patch uses \" to escape the quotes passed through to the shell.
Thanks to Aaron Gray for testing this out on cygwin.
llvm-svn: 22155
2005-05-20 20:13:41 +00:00
Reid Spencer
f0b186e49e
Don't eliminate a test case, just the form of the test case, from the
...
previous revision.
llvm-svn: 22072
2005-05-15 21:35:26 +00:00
Chris Lattner
847f580c7c
This does not belong
...
llvm-svn: 22071
2005-05-15 21:31:36 +00:00
Reid Spencer
597618f9f8
Add a case with non-constant argument for testing the transform:
...
ffs(x) -> (x == 0 ? 0 : llvm.cttz(0)+1)
llvm-svn: 22069
2005-05-15 21:26:59 +00:00
Chris Lattner
6e3decb6ea
add test to check for tail calls
...
llvm-svn: 22048
2005-05-15 05:52:51 +00:00
Chris Lattner
8d1ea49603
Make sure this is not eligible for tail-call-elimination so that we test
...
the correct thing.
llvm-svn: 22039
2005-05-14 23:54:55 +00:00
Chris Lattner
fe2ebdef4d
new testcase
...
llvm-svn: 22037
2005-05-14 23:52:09 +00:00
Reid Spencer
5b3c66676c
Add a test case for testing ffs libcall conversion to constant
...
llvm-svn: 22028
2005-05-14 16:44:43 +00:00
Chris Lattner
024e1922e6
Ensure these casts are done with the hardware fildll instruction
...
llvm-svn: 22013
2005-05-14 07:09:25 +00:00
Chris Lattner
b42e8723b0
this passes
...
llvm-svn: 22000
2005-05-14 02:35:38 +00:00
Chris Lattner
a11e367ae5
Fix this
...
llvm-svn: 21999
2005-05-14 02:33:20 +00:00
Chris Lattner
5900197232
new testcase
...
llvm-svn: 21989
2005-05-13 22:15:26 +00:00
Andrew Lenharth
805fcb9f1a
fix regression tests
...
llvm-svn: 21963
2005-05-13 19:49:02 +00:00
Chris Lattner
57e3597583
This passes on sparc
...
llvm-svn: 21955
2005-05-13 18:37:58 +00:00
Chris Lattner
e622357fbf
remove test
...
llvm-svn: 21952
2005-05-13 18:19:29 +00:00
John Criswell
2d4fc4c676
These tests are currently expected to fail.
...
llvm-svn: 21941
2005-05-13 17:36:00 +00:00
Chris Lattner
5b256d67cc
Force x86 backend
...
llvm-svn: 21940
2005-05-13 16:20:59 +00:00
Chris Lattner
0f0e75dfad
fix buggy test
...
llvm-svn: 21937
2005-05-13 15:51:31 +00:00
Chris Lattner
bf33da2952
Fix buggy test
...
llvm-svn: 21936
2005-05-13 15:48:41 +00:00
Chris Lattner
1df9ffa483
let dj run this
...
llvm-svn: 21935
2005-05-13 15:44:55 +00:00
Andrew Lenharth
5dcd5c8896
fixed test case
...
llvm-svn: 21934
2005-05-13 15:42:07 +00:00
Chris Lattner
4339c4b05a
disable this test for now.
...
llvm-svn: 21920
2005-05-13 04:51:58 +00:00
Chris Lattner
f26c015929
add a correct run line
...
llvm-svn: 21918
2005-05-13 04:20:57 +00:00
Chris Lattner
53eadd159b
reg test
...
llvm-svn: 21914
2005-05-12 23:09:04 +00:00
John Criswell
878a202e89
Fix this test on Solaris.
...
Solaris grep is more traditional and (AFAIK) does not support regexs.
Also, single quotes should disable all shell interpretation, so no
backslashes should be needed (and, in fact, keep Solaris from working).
llvm-svn: 21902
2005-05-12 21:06:05 +00:00
Nate Begeman
4ce1dea8af
Add testcase for legalizing ISD::CTTZ efficiently. On PPC, ctlz(int) is
...
now codegen'd as this:
addi r2, r3, -1
andc r2, r2, r3
cntlzw r2, r2
subfic r3, r2, 32
blr
llvm-svn: 21881
2005-05-11 23:45:54 +00:00
John Criswell
e5121fad61
Regression test for PR#563.
...
llvm-svn: 21879
2005-05-11 21:47:35 +00:00
Andrew Lenharth
0409e1e6d5
Legalize for CTLZ generates a ctpop, but this ctpop is not expanded.
...
This is bad. It is generated if you are ctlz a type that is not
legal for the arch (aka ctlz of bytes on alpha legalize fine).
llvm-svn: 21867
2005-05-11 17:23:41 +00:00
Chris Lattner
446b611401
include the other bit count intrinsics
...
llvm-svn: 21863
2005-05-11 05:31:01 +00:00
Chris Lattner
d08a2de07d
new testcase
...
llvm-svn: 21854
2005-05-11 04:22:47 +00:00
Chris Lattner
afcc1a854b
new testcase for PR562
...
llvm-svn: 21849
2005-05-10 22:32:29 +00:00
Chris Lattner
abb36674a8
new testcase
...
llvm-svn: 21837
2005-05-10 00:33:36 +00:00
Chris Lattner
763a9e8c9b
testcase I've had in my tree
...
llvm-svn: 21832
2005-05-09 21:21:10 +00:00
John Criswell
b3235830b6
Tell tblgen exactly where to find the include file.
...
llvm-svn: 21822
2005-05-09 19:32:08 +00:00
Chris Lattner
0d9a700b39
new testcase
...
llvm-svn: 21819
2005-05-09 17:09:31 +00:00
Chris Lattner
a7fc3d9119
tweak test to accept the (good) code emitted by the pattern isel
...
llvm-svn: 21812
2005-05-09 05:54:27 +00:00
Chris Lattner
19519b3792
New testcase
...
llvm-svn: 21808
2005-05-09 04:54:18 +00:00
Reid Spencer
3992dbd2a0
Add note to self to complete the testing of all intrinsic functions as
...
specified in the LangRef document.
llvm-svn: 21807
2005-05-09 04:47:32 +00:00
Chris Lattner
85013ae74a
New testcase that crashes the pattern isel
...
llvm-svn: 21800
2005-05-09 03:36:11 +00:00
Chris Lattner
af008dcdd1
New testacse for information exposed by the 'tail' call marker.
...
llvm-svn: 21795
2005-05-08 23:57:34 +00:00
Chris Lattner
2cbd1337ce
add a testcase for a case we do not handle yet
...
llvm-svn: 21789
2005-05-08 21:47:42 +00:00
Chris Lattner
ce7d145b20
new testcase
...
llvm-svn: 21787
2005-05-08 21:41:18 +00:00
Chris Lattner
90723bacb9
new testcase
...
llvm-svn: 21784
2005-05-08 21:28:33 +00:00
Chris Lattner
f9a33ede62
new testcases for PR557
...
llvm-svn: 21782
2005-05-08 20:56:02 +00:00
Chris Lattner
2f1b13255d
new testcase
...
llvm-svn: 21777
2005-05-08 18:54:40 +00:00
Chris Lattner
5140c15f08
new testcase
...
llvm-svn: 21774
2005-05-08 17:31:24 +00:00
Reid Spencer
f2ff439c4b
* Break tests into individual cases so its easier to see what's going on.
...
* Add four new cases to handle the new optimizations for strlen, dealing
with:
strlen(x) != 0 -> *x != 0
strlen(x) == 0 -> *x == 0
for each of two cases: strlen(x) != 0 and strlen(x) == 0
llvm-svn: 21767
2005-05-07 20:21:04 +00:00
Chris Lattner
30555b0d14
test that reassociate can handle shifts
...
llvm-svn: 21760
2005-05-07 04:23:29 +00:00
Chris Lattner
6ea3be51f8
new testcase
...
llvm-svn: 21756
2005-05-07 02:16:08 +00:00
Chris Lattner
f71853e277
new testcase
...
llvm-svn: 21750
2005-05-06 22:33:44 +00:00
Chris Lattner
318e328fc4
Make sure to not accidentally get a bogus tail marker
...
llvm-svn: 21735
2005-05-06 06:47:37 +00:00
Chris Lattner
2c9a46e758
test that tail call survives bytecodification
...
llvm-svn: 21728
2005-05-06 06:18:33 +00:00
Chris Lattner
8d83be2bf0
new testcases
...
llvm-svn: 21716
2005-05-06 04:52:46 +00:00
Chris Lattner
1524489f22
new testcase
...
llvm-svn: 21714
2005-05-06 04:11:32 +00:00
Chris Lattner
8169e16268
new testcase for unneeded and
...
llvm-svn: 21711
2005-05-06 01:52:52 +00:00
Chris Lattner
838dae0991
new testcase
...
llvm-svn: 21710
2005-05-06 01:51:05 +00:00
Chris Lattner
ce8dd82d66
new testcase
...
llvm-svn: 21708
2005-05-06 00:58:09 +00:00
Chris Lattner
4a454c80db
new testcase for PR541
...
llvm-svn: 21702
2005-05-05 22:23:10 +00:00
Chris Lattner
2cc59a8066
new testcase
...
llvm-svn: 21699
2005-05-05 17:57:24 +00:00
Chris Lattner
fa58898845
new testcase for a bug Jim found
...
llvm-svn: 21695
2005-05-05 15:47:16 +00:00
Chris Lattner
3538a4f6cc
new testcase
...
llvm-svn: 21689
2005-05-04 19:05:02 +00:00
Reid Spencer
f9a4a9681d
Make sure both optimization cases get tested.
...
llvm-svn: 21687
2005-05-04 17:45:10 +00:00
Reid Spencer
190bb26157
Add a test case for the IsDigitOptimization class.
...
llvm-svn: 21686
2005-05-04 17:34:55 +00:00
Andrew Lenharth
702859084b
comment fix
...
llvm-svn: 21685
2005-05-04 15:56:34 +00:00
Andrew Lenharth
dd9d3ac72b
see if the legalize code propery compensates for the additional zeros introduced
...
llvm-svn: 21684
2005-05-04 15:51:07 +00:00
Andrew Lenharth
6b551024ac
added a use of ctpop to debug stuff with
...
llvm-svn: 21681
2005-05-04 15:20:16 +00:00
Reid Spencer
f436286cf6
Fix this test to succeed even if "strchr" is on a call instruction.
...
llvm-svn: 21675
2005-05-03 17:09:38 +00:00
Reid Spencer
a6bbd18023
Add a test case for SPrintFOptimization.
...
llvm-svn: 21674
2005-05-03 17:08:45 +00:00
Andrew Lenharth
38cc7bacb4
yea yea yea
...
llvm-svn: 21673
2005-05-03 17:00:48 +00:00
Andrew Lenharth
bf50ff58ae
pre add count tests
...
llvm-svn: 21671
2005-05-03 16:49:48 +00:00
Reid Spencer
a064a84067
Add a test case for StrChrOptimizer for -simplify-libcalls
...
llvm-svn: 21668
2005-05-03 06:22:41 +00:00
Reid Spencer
d18dbcbf4c
A new test case for the LLVMMemSetOptimization.
...
llvm-svn: 21663
2005-05-03 04:00:24 +00:00
Reid Spencer
8204531db1
Correct the title and the success criteria: strcmp -> strncmp
...
llvm-svn: 21659
2005-05-03 00:52:19 +00:00
Reid Spencer
0a23afbedb
Add a new test case for the StrNCmpOptimization.
...
llvm-svn: 21658
2005-05-03 00:50:43 +00:00
Reid Spencer
59605a1b57
Add a test case for testing the FPrintFOptimization.
...
llvm-svn: 21656
2005-05-02 23:07:14 +00:00
Chris Lattner
cdb2465152
new testcase
...
llvm-svn: 21646
2005-05-01 04:41:57 +00:00
Chris Lattner
da96eeb2d5
add a new testcase
...
llvm-svn: 21644
2005-05-01 04:24:15 +00:00
Chris Lattner
9efa7e7533
add sin/cos tests
...
llvm-svn: 21635
2005-04-30 04:41:27 +00:00
Chris Lattner
7100fcde6c
Add a test for llvm.sqrt
...
llvm-svn: 21628
2005-04-30 04:07:15 +00:00
Reid Spencer
29c6b848db
* Fix signed/unsigned usage problem
...
* Rearrange for readability.
llvm-svn: 21625
2005-04-30 03:06:36 +00:00
Reid Spencer
10e99b2667
A new test case for the ToAsciiOptimizer.
...
llvm-svn: 21624
2005-04-30 01:00:52 +00:00
Reid Spencer
89339ffb22
A new test case for the StrCmpOptimization in -simplify-libcalls.
...
llvm-svn: 21623
2005-04-30 00:52:04 +00:00
Reid Spencer
1279398b1c
This is StrCpy, NOT StrCat!
...
llvm-svn: 21622
2005-04-29 23:02:15 +00:00
Reid Spencer
cadbe2bbf1
Get the name of the pass right in the documentation.
...
llvm-svn: 21621
2005-04-29 23:01:21 +00:00
Reid Spencer
a2ddce3119
Fix the success criteria for the test to make call instructions with "pow"
...
not just any occurrence of "pow".
llvm-svn: 21620
2005-04-29 10:11:23 +00:00
Reid Spencer
9610da2670
Actually make this pass test something related to fputs.
...
llvm-svn: 21619
2005-04-29 10:10:17 +00:00
Reid Spencer
fc4cf1d435
Add a test case for the puts libcall optimization.
...
llvm-svn: 21616
2005-04-29 07:19:00 +00:00
Reid Spencer
2645640325
Add a testcase for optimizing the strcpy libcall.
...
llvm-svn: 21615
2005-04-29 06:01:28 +00:00
Reid Spencer
a8b889490e
New test case for testing pow(3) math library optimizations.
...
llvm-svn: 21613
2005-04-29 05:47:05 +00:00
Chris Lattner
356cbfef73
Test the noreturn function optimization
...
llvm-svn: 21586
2005-04-27 04:51:01 +00:00
Reid Spencer
61a18b84cc
Add a test case for MemMove.ll
...
llvm-svn: 21568
2005-04-26 19:05:51 +00:00
Reid Spencer
abeb186371
Result of strlen is size_t which is either uint or ulong, not int.
...
llvm-svn: 21567
2005-04-26 19:04:46 +00:00
Reid Spencer
89011b6f3c
Add a new test case for the llvm.memcpy simplification case.
...
llvm-svn: 21561
2005-04-26 07:40:40 +00:00
Reid Spencer
3f2710e64e
* Add a test case for StrLenOptimization
...
* Rename ExitInMain and StrCat tests so they don't have the date the
regression was entered since they are feature tests, not regressions.
llvm-svn: 21558
2005-04-26 05:22:38 +00:00
Reid Spencer
342fe9a833
Fix RUN: line to not always pass.
...
llvm-svn: 21553
2005-04-26 02:33:25 +00:00
Reid Spencer
172e9155c1
Update the test case to handle a few more (degenerate) cases and remove
...
the restriction that it is an XFAIL because it now passes.
llvm-svn: 21545
2005-04-25 21:08:34 +00:00
Chris Lattner
20621b1e94
rename fn
...
llvm-svn: 21540
2005-04-25 20:17:16 +00:00
Chris Lattner
e680ee2a48
new testcase
...
llvm-svn: 21539
2005-04-25 20:17:00 +00:00
Reid Spencer
478d3b930a
Make sure the target buffer is null terminated so we don't blow up
...
strcat when its called.
llvm-svn: 21533
2005-04-25 15:40:35 +00:00
Reid Spencer
20b0e43e1f
A test case for testing the StrCatOptimizer, currently XFAILed everywhere.
...
llvm-svn: 21532
2005-04-25 07:29:30 +00:00
Reid Spencer
23423346f8
Use the %name rather than the "name" format so those familiar with the
...
llvm-dis output don't go blind.
llvm-svn: 21525
2005-04-25 03:18:19 +00:00
Reid Spencer
985f484263
A test case for the the ExitInMain libcall simplification.
...
llvm-svn: 21521
2005-04-25 02:50:08 +00:00
Chris Lattner
b57d040464
Test that xor/select are folded into a select with inverted operands.
...
llvm-svn: 21494
2005-04-24 07:28:53 +00:00
Chris Lattner
0de0638522
unxfail this.
...
llvm-svn: 21490
2005-04-24 06:55:40 +00:00
Chris Lattner
624d5cb006
add a new testcase which occurs in 181.mcf
...
llvm-svn: 21489
2005-04-24 06:55:33 +00:00
Jeff Cohen
8047f13a88
Eliminate tabs and trailing spaces
...
llvm-svn: 21479
2005-04-23 21:26:11 +00:00
Chris Lattner
64a8a7f9b7
add a new testcase
...
llvm-svn: 21469
2005-04-23 15:31:03 +00:00
Reid Spencer
a3d4e04da8
Add the RUN: prefix to the start of the run line so this test doesn't fail.
...
BTW .. isn't the date on this funky? We haven't reachec 2005-05-09 yet???
llvm-svn: 21432
2005-04-22 02:49:25 +00:00
Misha Brukman
b1c9317bb4
Remove trailing whitespace
...
llvm-svn: 21427
2005-04-21 23:48:37 +00:00
Chris Lattner
95e43ae162
Check for eqv matching
...
llvm-svn: 21414
2005-04-21 21:10:07 +00:00
Chris Lattner
5c9ef1ba2d
this passes on darwin
...
llvm-svn: 21410
2005-04-21 20:48:08 +00:00
Chris Lattner
ab77740715
New testcase for a changing values late and allowing them to propagate
...
llvm-svn: 21343
2005-04-19 03:34:58 +00:00
Chris Lattner
d90d566dee
Make this significantly harder
...
llvm-svn: 21342
2005-04-19 02:58:57 +00:00
Chris Lattner
17bd7c5a88
Add a real run line
...
llvm-svn: 21341
2005-04-19 02:53:26 +00:00
Chris Lattner
c00f712fc0
fix this testcase
...
llvm-svn: 21340
2005-04-19 02:52:04 +00:00
Chris Lattner
2b76da7d1f
new testcase
...
llvm-svn: 21339
2005-04-19 02:26:23 +00:00
Chris Lattner
f2fab50974
add a run line
...
llvm-svn: 21338
2005-04-19 01:37:24 +00:00
Chris Lattner
ed8335e35b
Tell dj to run the tests in this directory
...
llvm-svn: 21337
2005-04-19 01:36:41 +00:00
Nate Begeman
f24225d4d7
Update dejagnu tests to use the new pattern isel flag
...
llvm-svn: 21311
2005-04-16 04:25:48 +00:00
Chris Lattner
8579c2c474
new testcase
...
llvm-svn: 21304
2005-04-15 19:24:36 +00:00
Andrew Lenharth
10b7bceb8e
added a random and mask test
...
llvm-svn: 21301
2005-04-14 16:17:49 +00:00
Nate Begeman
04ae873648
Add CodeGen tests for the recent SelectionDAG transforms
...
llvm-svn: 21292
2005-04-13 21:45:13 +00:00
Andrew Lenharth
c2ff402c84
regression case for faster call sequence
...
llvm-svn: 21284
2005-04-13 16:16:01 +00:00
Andrew Lenharth
714dd6a0ec
check that casts still use zap
...
llvm-svn: 21283
2005-04-13 13:00:16 +00:00
Andrew Lenharth
5cee4ef049
added s4addl matching test
...
llvm-svn: 21277
2005-04-13 04:41:06 +00:00
Chris Lattner
751cc5f49f
fix this testcase so the regex doesn't match the function name
...
llvm-svn: 21210
2005-04-10 20:45:35 +00:00
Chris Lattner
2de306ba83
make this harder
...
llvm-svn: 21201
2005-04-10 03:18:18 +00:00
Chris Lattner
d65632a9ca
oops add ~
...
llvm-svn: 21200
2005-04-10 03:07:25 +00:00
Chris Lattner
38b1ae75fc
new testcase for previously unsupported unary complex operators
...
llvm-svn: 21199
2005-04-10 03:06:27 +00:00
Chris Lattner
db32a632c9
new testcase that used to crash the ppc fe. It could effect any simpleisel
...
that is not careful, so I'm checking it into the generic tests.
llvm-svn: 21190
2005-04-09 22:03:10 +00:00
Nate Begeman
7d3e44fb12
Add a testcase to make sure that we don't emit two fneg instructions back
...
to back for certain fsel instructions.
llvm-svn: 21176
2005-04-09 09:30:09 +00:00
Nate Begeman
968e44a900
Add cases to cover the rest of the patterns we should be matching
...
llvm-svn: 21175
2005-04-09 08:29:59 +00:00
Chris Lattner
3aa6ec0dda
New testcase that the sparc backend crashes on
...
llvm-svn: 21173
2005-04-09 06:26:27 +00:00
Chris Lattner
d9748bcae5
make this test more interesting
...
llvm-svn: 21170
2005-04-09 04:55:14 +00:00
Chris Lattner
ec90861662
add a test for fnabs
...
llvm-svn: 21169
2005-04-09 04:03:16 +00:00
Chris Lattner
b9a11b8b7f
add a partial test for the fma operations that ppc supports. I'm sure I'm
...
missing some and not all of these match yet, but I'm sure that Nate will
clean up my mess :)
llvm-svn: 21168
2005-04-09 04:01:32 +00:00
Andrew Lenharth
ce9e043c78
oops
...
llvm-svn: 21155
2005-04-08 16:55:15 +00:00
Andrew Lenharth
2e184e2522
added some tests to check stupid pattern matching mistakes
...
llvm-svn: 21154
2005-04-08 16:46:44 +00:00
Chris Lattner
9e2b5fc65a
new testcase that crashes the instcombiner.
...
llvm-svn: 21151
2005-04-08 03:58:21 +00:00
Andrew Lenharth
31f5e2f73f
match case change in codegen
...
llvm-svn: 21141
2005-04-07 17:47:00 +00:00
Chris Lattner
679c1119e8
new test
...
llvm-svn: 21137
2005-04-07 16:41:45 +00:00
Chris Lattner
dd83183c1e
new testcase
...
llvm-svn: 21135
2005-04-07 16:24:59 +00:00
Andrew Lenharth
249bf7bee4
simplified
...
llvm-svn: 21119
2005-04-06 20:59:03 +00:00
Andrew Lenharth
99edcfe3f8
added first alpha codegen regression test
...
llvm-svn: 21117
2005-04-06 20:39:17 +00:00
Chris Lattner
0933766e2b
new testcase
...
llvm-svn: 21087
2005-04-04 22:22:30 +00:00
Chris Lattner
04e0515937
this has now been fixed
...
llvm-svn: 21026
2005-04-02 16:17:57 +00:00
Chris Lattner
1d7052fad5
don't forget to use the right code generator :)
...
llvm-svn: 21017
2005-04-02 05:40:03 +00:00
Chris Lattner
b4e122c59f
new testcase
...
llvm-svn: 21016
2005-04-02 05:35:00 +00:00
Chris Lattner
07e3f7e1ff
new generic testcsae
...
llvm-svn: 20996
2005-04-02 02:41:55 +00:00
John Criswell
9f680da784
For Sparc, this xfails. I don't think sparc has the C99 complex data
...
type support.
llvm-svn: 20993
2005-04-01 23:16:23 +00:00
Chris Lattner
9122b4c9c0
new testcase
...
llvm-svn: 20978
2005-04-01 07:19:06 +00:00
Chris Lattner
d6e6b38918
fix the RUN line on this testcase so it passes.
...
llvm-svn: 20833
2005-03-25 15:36:19 +00:00
Chris Lattner
b99c93c93b
New testcase that crashes licm.
...
llvm-svn: 20829
2005-03-25 05:49:13 +00:00
Chris Lattner
299be4b42f
new testcase that DS-AA is causing to be miscompiled.
...
llvm-svn: 20813
2005-03-24 17:57:43 +00:00
Chris Lattner
4baa138fad
GlobalMR should be able to analyze this function.
...
llvm-svn: 20795
2005-03-23 23:48:56 +00:00
Chris Lattner
17011d972a
new testcase to verify that we have field sensitive alias analysis info. This
...
test cannot be satisfied without interprocedural information.
llvm-svn: 20778
2005-03-23 01:46:59 +00:00
Chris Lattner
70a402b9b8
make sure this test tests the intended target.
...
llvm-svn: 20777
2005-03-23 01:32:03 +00:00
Chris Lattner
5c971a0072
We might as well check the TD graphs as well, even though they are fine.
...
llvm-svn: 20774
2005-03-22 22:11:22 +00:00
Chris Lattner
537dcf017c
New testcase, the BU pass is marking the global complete in the globals graph.
...
llvm-svn: 20772
2005-03-22 22:07:15 +00:00
Chris Lattner
032b364fc4
New testcase, which is important to handle correctly.
...
llvm-svn: 20739
2005-03-21 20:18:51 +00:00
Chris Lattner
bad17144d0
This error message changed.
...
llvm-svn: 20734
2005-03-21 17:55:41 +00:00
Chris Lattner
a825b14278
New testcase that the assembler incorrectly accepts.
...
llvm-svn: 20725
2005-03-21 06:24:53 +00:00
Chris Lattner
a945923045
this doesn't fail on the suns either!
...
llvm-svn: 20567
2005-03-12 03:43:38 +00:00
Chris Lattner
90e6ff073c
this passes on darwin
...
llvm-svn: 20565
2005-03-11 21:18:00 +00:00
Chris Lattner
c2fdf33162
new testcase for __builtin_prefetch support.
...
llvm-svn: 20561
2005-03-11 06:14:23 +00:00
Chris Lattner
623bb75d35
new testcase for a -basicaa bug that Alkis found with Java.
...
llvm-svn: 20530
2005-03-09 16:29:22 +00:00
Chris Lattner
7c303235b4
new testcase that crashes the CBE.
...
llvm-svn: 20518
2005-03-08 16:19:02 +00:00
Chris Lattner
5991cf77b2
cleanup the test
...
llvm-svn: 20504
2005-03-06 22:24:45 +00:00
Chris Lattner
1173c52d82
check that we only insert one phi node per loop
...
llvm-svn: 20503
2005-03-06 22:23:31 +00:00
Chris Lattner
392a0bba42
Add testcase for this:
...
(3) Do not reduce element sizes of small power of two:
char s[10];
for (i)
...s[i] ...
when the indvar is not eliminable.
llvm-svn: 20502
2005-03-06 22:15:24 +00:00
Chris Lattner
656a6e37e1
testcase for A[invariant][indvar] where invariant is an instruction.
...
llvm-svn: 20500
2005-03-06 22:06:09 +00:00
Chris Lattner
ab00dc30df
add test for this:
...
(1) Allow loop invariant expressions to come before the induction variable (instead of just
constants):
int x;
for (i)
...a[x][i]
llvm-svn: 20499
2005-03-06 22:04:27 +00:00
Chris Lattner
97b8cbff7c
Add test for this:
...
Allow operands after the induction variable (no restrictions):
int x;
for (i)
j = .....
a[i][x][j]
llvm-svn: 20498
2005-03-06 22:01:42 +00:00
Chris Lattner
9cd727c2ee
a regtest
...
llvm-svn: 20496
2005-03-06 21:47:40 +00:00
Chris Lattner
78f166c6ab
new directory
...
llvm-svn: 20495
2005-03-06 21:42:59 +00:00
Chris Lattner
1c69aab68b
New testcase for PR532
...
llvm-svn: 20492
2005-03-06 20:56:55 +00:00
Chris Lattner
a93419c8df
new testcase reduced from the MultiSource/Applications/d failure last night.
...
llvm-svn: 20490
2005-03-06 19:40:19 +00:00
Chris Lattner
15ac102737
New testcase for PR533
...
llvm-svn: 20456
2005-03-05 18:47:28 +00:00
Chris Lattner
02f0d7bcc9
This file is all commented out.
...
llvm-svn: 20454
2005-03-05 17:28:37 +00:00
Chris Lattner
6cc4ee0f24
Testcase for a bug that caused us to miscompile ptrdist/ks on sparc.
...
llvm-svn: 20444
2005-03-04 23:20:46 +00:00
Chris Lattner
5d43cbc6ac
Add a test for llvm.prefetch.
...
llvm-svn: 20379
2005-02-28 19:31:42 +00:00
Chris Lattner
cf1359ddf5
New testcase for PR529
...
llvm-svn: 20356
2005-02-27 19:28:30 +00:00
Chris Lattner
a1079acb0a
new testcase globalopt should handle.
...
llvm-svn: 20351
2005-02-27 18:48:19 +00:00
Chris Lattner
19d4ab642f
new testcase globalopt should implement
...
llvm-svn: 20350
2005-02-27 18:47:17 +00:00
Chris Lattner
5042453bb8
Test that a global is marked constant when it can be.
...
llvm-svn: 20349
2005-02-27 18:19:26 +00:00
Chris Lattner
600420647f
Fix misspellings, patch contributed by Gabor Greif!
...
llvm-svn: 20341
2005-02-27 06:14:21 +00:00
Chris Lattner
67bf757d0a
A testcase that we miscompile, noticed from the demo page.
...
llvm-svn: 20336
2005-02-26 18:49:04 +00:00
Chris Lattner
c0968c72ff
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
272f3527a3
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
b3dd24435f
new testcase for PR523
...
llvm-svn: 20261
2005-02-21 04:03:32 +00:00
Chris Lattner
8a8f9032c3
New testcase for PR522.
...
llvm-svn: 20259
2005-02-20 23:29:23 +00:00
Chris Lattner
e98b480b2e
Testcase for PR520
...
llvm-svn: 20248
2005-02-19 17:07:48 +00:00
Chris Lattner
a94f9ffd0e
Adjust this test to pass after recent CFE changes. We now generate:
...
%XX = global int cast (int* getelementptr ([2 x int]* getelementptr (%struct.S* null, int 0, uint 0), int 0, int 1) to int)
which is the literal translation of the testcase :)
llvm-svn: 20247
2005-02-19 07:31:54 +00:00
Chris Lattner
4fec95cd4d
Make this testcase harder, to test the read case as well.
...
llvm-svn: 20245
2005-02-19 06:56:46 +00:00
Chris Lattner
e22674c706
new testcase.
...
llvm-svn: 20244
2005-02-19 06:54:44 +00:00
Reid Spencer
9756aea1cb
Quote the value of the PATH variable so that Cygwin and Windows can have
...
spaces in path names and not confuse the shell.
llvm-svn: 20241
2005-02-18 20:24:09 +00:00
Reid Spencer
75542d4e78
Allow dejagnu tests to run on Windows/Cygwin. Quote the value of the PATH
...
variable so that spaces don't screw it up.
llvm-svn: 20240
2005-02-18 20:17:44 +00:00
Chris Lattner
854c086e0f
New files, testing for a crash in ADCE compiling QT and a missed optimization.
...
llvm-svn: 20226
2005-02-17 19:27:44 +00:00
Chris Lattner
02fd7d1d56
new testcase for PR515
...
llvm-svn: 20223
2005-02-17 16:53:41 +00:00
Chris Lattner
1a9cbe67ed
New testcase for PR510.
...
llvm-svn: 20189
2005-02-15 05:18:05 +00:00
Chris Lattner
7027143f0a
execution tests shouldn't go here. This was killing the PPC nightly tester.
...
llvm-svn: 20186
2005-02-14 21:54:32 +00:00
Chris Lattner
3d2881066b
A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.
...
llvm-svn: 20182
2005-02-14 21:31:41 +00:00
Chris Lattner
4c13ab61b3
new testcase
...
llvm-svn: 20176
2005-02-14 16:45:38 +00:00
Chris Lattner
71ff539ed6
new testcase for PR509
...
llvm-svn: 20171
2005-02-14 02:54:41 +00:00
Chris Lattner
36f3eb82a1
New test, adjust other test.
...
llvm-svn: 20134
2005-02-12 19:19:36 +00:00
Chris Lattner
6af31478ef
Reinstate this test, it is correct after all.
...
llvm-svn: 20133
2005-02-12 19:14:11 +00:00
Chris Lattner
3b4f6c4a73
This test is invalid
...
llvm-svn: 20131
2005-02-12 19:02:30 +00:00
Chris Lattner
4c916478e5
new testcase for PR504
...
llvm-svn: 20128
2005-02-12 03:26:30 +00:00
Chris Lattner
82e87e4d0c
Actually, this testcase is invalid, the bug is in the C++ FE.
...
llvm-svn: 20123
2005-02-11 23:18:40 +00:00
Chris Lattner
1afcaf601f
New testcase that manyoso found compiling QT 4.0.
...
llvm-svn: 20122
2005-02-11 23:08:34 +00:00
Chris Lattner
e6138f4240
New testcase for PR501
...
llvm-svn: 20117
2005-02-11 19:26:06 +00:00
Chris Lattner
60fb167b6e
New testcase that the asmwriter botches.
...
llvm-svn: 20088
2005-02-09 17:42:24 +00:00
Chris Lattner
4298e1fea4
This bug crashes the assembler, distilled from a testcase produced by Andrew.
...
llvm-svn: 19964
2005-02-01 01:44:54 +00:00
Chris Lattner
46452d4558
New testcase
...
llvm-svn: 19952
2005-01-31 05:51:18 +00:00
Chris Lattner
2357f255ca
New testcase
...
llvm-svn: 19949
2005-01-31 05:36:19 +00:00
Chris Lattner
c456eac1b9
Rename these to start with %c, as they are the only ones that are checked.
...
No change to the tests themselves.
llvm-svn: 19948
2005-01-31 05:17:31 +00:00
Chris Lattner
340ab5bbbb
New testcase
...
llvm-svn: 19946
2005-01-31 04:49:22 +00:00
Chris Lattner
e3aa4c01d5
New testcase.
...
llvm-svn: 19873
2005-01-28 19:08:32 +00:00
Chris Lattner
651ffb1df8
xfail this.
...
llvm-svn: 19846
2005-01-26 07:09:44 +00:00
Chris Lattner
a710180bba
XFAIL this for now.
...
llvm-svn: 19845
2005-01-26 07:08:42 +00:00
Chris Lattner
ac4e5ef023
Remove this test. This test is already in PR269, so it should be
...
readded when the bug is fixed.
llvm-svn: 19722
2005-01-20 20:58:42 +00:00
Chris Lattner
2547f05be8
Add some new tests
...
llvm-svn: 19705
2005-01-19 21:48:31 +00:00
Chris Lattner
c4adfbbd0b
New testcase for rotate instructions. Each function should codegen to a
...
rotate.
llvm-svn: 19691
2005-01-19 08:04:08 +00:00
Chris Lattner
603677549f
Add a test for 16-bit sh*d.
...
llvm-svn: 19688
2005-01-19 07:37:01 +00:00
Chris Lattner
892336a1b5
Ensure that each these functions generates a sh[rl]d instruction.
...
llvm-svn: 19682
2005-01-19 06:30:36 +00:00
Chris Lattner
81841af594
This is a carefully contrived testcase where the X86 ISel is emitting all loads
...
before other ops, causing it to spill like mad. This occurs in
164.gzip:flush_block.
llvm-svn: 19648
2005-01-17 23:16:01 +00:00
Chris Lattner
9605c927d1
New testcase for a problem that occurred in 132.ijpeg
...
llvm-svn: 19630
2005-01-17 06:25:59 +00:00
Chris Lattner
8025e8b9e6
New testcase, problem found by Rob.
...
llvm-svn: 19556
2005-01-14 20:21:51 +00:00
Chris Lattner
57fb55d750
Testcase that crashes the PPC backend. Thanks to Rob for finding this.
...
llvm-svn: 19554
2005-01-14 19:30:42 +00:00
Chris Lattner
144f6e3dee
More testcases
...
llvm-svn: 19543
2005-01-14 00:26:25 +00:00
Chris Lattner
7db6765530
new testcase
...
llvm-svn: 19539
2005-01-13 23:26:14 +00:00
Chris Lattner
788bdba13d
The pattern isel is aggressively codegen'ing all of the loads in these
...
functions together at the start of the basic block, causing massive spillage.
The old isel codegened the loads wherever they happened to land, so it
generated good code for the first case, but bad code for the second.
We really want the pattern isel to generate (the same) good code for both.
llvm-svn: 19448
2005-01-11 03:05:03 +00:00
Jeff Cohen
529d0068c8
Test fails on all platforms, not just linux
...
llvm-svn: 19405
2005-01-08 23:44:03 +00:00
Chris Lattner
e80eca3d1d
New testcase.
...
llvm-svn: 19363
2005-01-08 05:44:07 +00:00
Chris Lattner
924d100bd1
Cleanup a bunch of tests. In particular do not allow target directives in
...
the .ll file or it forces the V9 backend. This is the CodeGen/Generic dir,
so there is no use in doing that.
llvm-svn: 19355
2005-01-07 22:05:31 +00:00
Chris Lattner
e3f06e9945
Make this test a bit more interesting by making there actually be a use of the
...
PHI node.
llvm-svn: 19351
2005-01-07 21:37:13 +00:00
Chris Lattner
44b30c9abb
modernize and clean up this test.
...
llvm-svn: 19347
2005-01-07 21:15:58 +00:00
Chris Lattner
001467a08c
Add a testcase I forgot to commit earlier.
...
llvm-svn: 19338
2005-01-07 07:56:08 +00:00
Chris Lattner
9eef99ef43
New testcase
...
llvm-svn: 19312
2005-01-06 21:18:53 +00:00
Chris Lattner
f0698314cd
Update this test to pass.
...
llvm-svn: 19285
2005-01-05 15:23:06 +00:00
Chris Lattner
9742ac8c7c
Test that trivial constants are not printed in hex notation.
...
llvm-svn: 19281
2005-01-04 01:58:26 +00:00
Chris Lattner
91197b0b6a
Add a testcase to check that initializer that CAN be evaluated statically ARE.
...
These used to result in dynamic initializations.
llvm-svn: 19278
2005-01-03 22:27:58 +00:00
Chris Lattner
5dfdadde04
Fix this script to work with hyphenated llvm-gcc and friend.
...
llvm-svn: 19277
2005-01-03 22:26:38 +00:00
Chris Lattner
588d9471f3
new testcase for PR481
...
llvm-svn: 19270
2005-01-03 04:39:16 +00:00
Chris Lattner
1859e90a1e
New testcase for PR487
...
llvm-svn: 19268
2005-01-03 04:15:11 +00:00
Reid Spencer
2f61775ee1
Make sure the path is properly set in the llvmgcc and llvmgxx variables.
...
llvm-svn: 19267
2005-01-03 04:05:32 +00:00
Chris Lattner
0982708a11
Testcase for PR494
...
llvm-svn: 19258
2005-01-02 21:11:11 +00:00
Chris Lattner
179457f062
xfail these tests, whcih require more info in the code generator to implement
...
correctly.
llvm-svn: 19257
2005-01-02 19:01:33 +00:00
Chris Lattner
252b68cfc8
Check in an old test that never made it into CVS
...
llvm-svn: 19250
2005-01-02 02:46:29 +00:00
Chris Lattner
835ae42300
Add several testcases for new optimizations in the code generator.
...
llvm-svn: 19244
2005-01-02 02:30:04 +00:00
Chris Lattner
da15d4ba49
New testcases that we should combine.
...
llvm-svn: 19219
2005-01-01 16:14:46 +00:00
Chris Lattner
584e38313b
New testcase for common bitfield manipulation instruction sequences.
...
llvm-svn: 19218
2005-01-01 16:14:18 +00:00
Chris Lattner
421477885f
Add a bunch of tests for cases that should be eliminated.
...
llvm-svn: 19217
2005-01-01 16:13:43 +00:00
Chris Lattner
329d0255ae
Add a bunch of tests for ANDs that should be eliminated.
...
llvm-svn: 19216
2005-01-01 16:13:19 +00:00
Chris Lattner
ea4c66a083
This now works.
...
llvm-svn: 19215
2005-01-01 16:12:52 +00:00
Chris Lattner
21adf7d36e
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
f2a5963737
Add a comment, add a new testcase
...
llvm-svn: 19179
2004-12-29 04:35:30 +00:00
Chris Lattner
44b225d4d4
New testcase for PR491
...
llvm-svn: 19178
2004-12-29 04:27:26 +00:00
Chris Lattner
5c87df3b7b
new testcase for PR490
...
llvm-svn: 19175
2004-12-29 03:57:25 +00:00
Reid Spencer
46f8f24f15
XFAIL this test everywhere.
...
llvm-svn: 19174
2004-12-29 03:17:30 +00:00
Reid Spencer
28d2ad3396
XFAIL this everywhere, the CFE doesn't support bitfield initialization.
...
llvm-svn: 19173
2004-12-29 03:16:40 +00:00
Reid Spencer
0f996fe02c
Make sure LLVMGCCWITHPATH is used instead of just LLVMGCC so that the
...
CFE tools can find the correct LLVM tools to invoke.
llvm-svn: 19128
2004-12-24 03:44:24 +00:00
Reid Spencer
69d897cc22
The dejagnu scripts need a path for llvm-gcc/llvm-g++ as well so use the
...
correct variable to get a "set the path first" invocation of those tools.
llvm-svn: 19127
2004-12-24 03:38:01 +00:00
Reid Spencer
c4de911191
For PR432:
...
* Use LLVMGCC and LLVMGXX variables instead of computing the name
llvm-svn: 19097
2004-12-22 05:57:50 +00:00
Chris Lattner
5e5e3f4409
Make this testcase a bit more challanging
...
llvm-svn: 19019
2004-12-17 17:14:00 +00:00
Chris Lattner
493cc12415
Change the test to check to see that CSE happens not dead call elim
...
llvm-svn: 19017
2004-12-17 17:11:41 +00:00
Chris Lattner
5417117a8f
New testcase that crashes the V9 backend.
...
llvm-svn: 18905
2004-12-13 19:10:32 +00:00
Chris Lattner
2f65416429
Fix this test
...
llvm-svn: 18900
2004-12-13 17:53:11 +00:00
Chris Lattner
9803a0a575
Add testcases for simple things we can handle that occur now in vortex.
...
llvm-svn: 18837
2004-12-12 21:40:22 +00:00
Chris Lattner
360cda5ffd
Dejagnu doesn't work if you do TESTSUITE=.../
...
You can't pass the trailing / into Dejagnu, so make the makefile strip it off
llvm-svn: 18836
2004-12-12 21:39:49 +00:00
Chris Lattner
a0dffecfbc
New testcase that the PPC backend miscompiles. It is emitting
...
.comm _X,0
For X, which makes the linker thing that X is never defined.
llvm-svn: 18834
2004-12-12 20:34:06 +00:00
Chris Lattner
17fbc80f31
New testcase. Shrinking the variable to a bool allows instcombine to delete
...
the condition.
llvm-svn: 18816
2004-12-12 05:52:12 +00:00
Chris Lattner
2c14b32e2b
New testcase. If one side of and/or is known to be 0/-1, it doesn't matter
...
if the other side is overdefined.
llvm-svn: 18806
2004-12-11 23:14:40 +00:00
Chris Lattner
cc6037f8e6
Update test
...
llvm-svn: 18801
2004-12-11 17:13:19 +00:00
Chris Lattner
01bd4624c4
New testcase that ipsccp should handle.
...
llvm-svn: 18789
2004-12-11 05:14:55 +00:00
Chris Lattner
f92cc45975
New testcase
...
llvm-svn: 18780
2004-12-10 22:28:49 +00:00
Chris Lattner
9e8141fb3e
New testcase that SCCP miscompiles. Luckily this is extremely unlikely to
...
happen in practice, but IP-SCCP can trigger it.
llvm-svn: 18773
2004-12-10 20:10:23 +00:00
Chris Lattner
f13b7ee8aa
Check in the right test
...
llvm-svn: 18767
2004-12-10 17:43:43 +00:00
Chris Lattner
88bd77c73d
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
c2965a6d0e
New testcase
...
llvm-svn: 18750
2004-12-10 07:54:51 +00:00
Alkis Evlogimenos
5b9754bd48
Update testcase
...
llvm-svn: 18742
2004-12-10 05:39:57 +00:00
Chris Lattner
dfabbb29f2
Simple testcase for quoted label.
...
llvm-svn: 18740
2004-12-10 05:27:14 +00:00
Alkis Evlogimenos
346ee4c9fb
Add testcase and fix for yet another case where we query the size an
...
abstract type.
llvm-svn: 18678
2004-12-08 23:56:15 +00:00
Alkis Evlogimenos
b1ff6d7921
Add testcase and fix for another case where we query the size an
...
abstract type.
llvm-svn: 18676
2004-12-08 23:42:11 +00:00
Chris Lattner
8665367885
new testcase
...
llvm-svn: 18675
2004-12-08 23:41:16 +00:00
Alkis Evlogimenos
a1291a0679
Fix this regression and remove the XFAIL from this test.
...
llvm-svn: 18674
2004-12-08 23:10:30 +00:00
Reid Spencer
ca06c8e851
Remove last remnants of Python/QMTest support
...
llvm-svn: 18672
2004-12-08 23:07:27 +00:00
Chris Lattner
ace35e9be6
This testcase causes the instruction combiner to go spiraling into
...
an infinite loop.
llvm-svn: 18669
2004-12-08 22:18:35 +00:00
Alkis Evlogimenos
84d060ae7a
Mark this as an XFAIL until a fix is worked out.
...
llvm-svn: 18651
2004-12-08 18:43:39 +00:00
John Criswell
241011e6b0
Fix llvmgcc to use the TestRunner substition mechanism.
...
llvm-svn: 18634
2004-12-08 16:41:34 +00:00
John Criswell
02fa673e6f
xfail this across all platforms.
...
llvm-svn: 18633
2004-12-08 16:31:06 +00:00
Alkis Evlogimenos
148215f758
Add regression
...
llvm-svn: 18624
2004-12-08 07:25:10 +00:00
Chris Lattner
040c3868b3
This test is xfail right now, to keep DJ clean, also mention the PR# in testcases.
...
llvm-svn: 18609
2004-12-08 02:25:32 +00:00
John Criswell
ff845b4f96
This test still fails on Darwin and Sparc/Solaris.
...
llvm-svn: 18583
2004-12-06 22:05:02 +00:00
Reid Spencer
10afebddcc
Test case for PR409:
...
Make sure that floating point constant values outside the range of a float
cannot be assigned to a constant.
llvm-svn: 18582
2004-12-06 21:57:59 +00:00
John Criswell
b2249635ae
Remove the last pieces of QMTest.
...
llvm-svn: 18581
2004-12-06 21:35:32 +00:00
Reid Spencer
ca1baad120
Change check to check-local per Makefile.rules changes.
...
llvm-svn: 18568
2004-12-06 05:35:38 +00:00
Chris Lattner
cc6d1928d2
Make this test actually capable of passing.
...
llvm-svn: 18536
2004-12-05 07:15:21 +00:00
Chris Lattner
fa171f11b8
Change this test to not require execution of the program.
...
llvm-svn: 18533
2004-12-05 06:45:30 +00:00
Chris Lattner
a6086ef48d
New testcase for the bug affecting 255.vortex in CBE mode.
...
llvm-svn: 18529
2004-12-05 06:18:35 +00:00
Alkis Evlogimenos
7527cd53fa
Remove unneeded code
...
llvm-svn: 18516
2004-12-05 02:03:16 +00:00
Alkis Evlogimenos
a90f19621b
Match codegen string better
...
llvm-svn: 18514
2004-12-05 01:50:32 +00:00
Alkis Evlogimenos
58355ab372
Add testcast for bug475
...
llvm-svn: 18513
2004-12-05 01:44:46 +00:00
Chris Lattner
d9791b0007
Darwin and solaris don't support echo -e. This should get the test passing
...
for them.
llvm-svn: 18511
2004-12-04 23:44:42 +00:00
Chris Lattner
59ed56e232
This fails due to the sun headers.
...
llvm-svn: 18510
2004-12-04 23:24:30 +00:00
Chris Lattner
02d5676936
This test passes on all platforms
...
llvm-svn: 18509
2004-12-04 23:21:41 +00:00
Chris Lattner
b5fd4a2f85
These tests pass on darwin now that the __ thing is fixed.
...
llvm-svn: 18508
2004-12-04 23:20:14 +00:00
Reid Spencer
20275c1d5d
Failing Feature/Regression test should fail the build
...
llvm-svn: 18507
2004-12-04 22:34:47 +00:00
Chris Lattner
144924cbaa
Clean feature also
...
llvm-svn: 18491
2004-12-04 06:47:07 +00:00
Tanya Lattner
26a1367d8a
Made it default to check instead of check-dejagnu.
...
llvm-svn: 18488
2004-12-04 06:25:08 +00:00
Chris Lattner
2434bb968c
Do not multiply define symbol
...
llvm-svn: 18461
2004-12-03 19:48:10 +00:00
Chris Lattner
1cc226eba1
new testcase for PR472
...
llvm-svn: 18458
2004-12-03 17:18:42 +00:00
John Criswell
f29f760354
These lookup symbols with leading underscores, which currently fails in
...
the PowerPC JIT.
Hence, they are XFAILs.
llvm-svn: 18443
2004-12-02 21:28:37 +00:00
Chris Lattner
9cf32444bb
This program doesn't break anything anymore.
...
llvm-svn: 18411
2004-12-02 02:26:18 +00:00
Tanya Lattner
33f621acf8
Added TCLSH var to site.exp.
...
llvm-svn: 18396
2004-11-30 19:13:06 +00:00
Chris Lattner
a6992ae74f
Move this from the C test suite
...
llvm-svn: 18395
2004-11-30 18:25:12 +00:00
Chris Lattner
bf3a546a5b
This is a c++ test
...
llvm-svn: 18394
2004-11-30 18:25:05 +00:00
Chris Lattner
3f9b831041
Add back -e, which apparently works in sh's echo but not tcsh's, which does
...
not need it. Also, grep some output so we know that this command does something.
llvm-svn: 18393
2004-11-30 17:47:13 +00:00
Chris Lattner
4114c7d87c
If TESTSUITE is set, we obviously want to run dejagnu
...
llvm-svn: 18392
2004-11-30 17:45:08 +00:00
Chris Lattner
f4b262a3ec
do not pass -e into llvm-db as a command.
...
llvm-svn: 18390
2004-11-30 17:13:13 +00:00
Chris Lattner
c7edfa52a4
Put the output in the temporary location
...
llvm-svn: 18389
2004-11-30 17:12:00 +00:00
Chris Lattner
3f6419949c
This is a cross platform fail, failing on freebsd as well
...
llvm-svn: 18388
2004-11-30 17:10:47 +00:00
Chris Lattner
d7f028e4e3
This was fixed with the recent tester changes.
...
llvm-svn: 18385
2004-11-30 16:48:26 +00:00
Chris Lattner
b15064a776
This passes on darwin now
...
llvm-svn: 18380
2004-11-30 07:38:41 +00:00
Chris Lattner
16c07fdd15
New testcase that crashes the PPC BE
...
llvm-svn: 18375
2004-11-30 06:39:45 +00:00
Chris Lattner
c45bdadaf8
New testcase
...
llvm-svn: 18373
2004-11-30 06:35:52 +00:00
Tanya Lattner
97b21a06a3
Adding timeout for a test.
...
llvm-svn: 18372
2004-11-30 06:29:45 +00:00
Chris Lattner
90e62de4e9
New testcase that crashes the PPC backend
...
llvm-svn: 18370
2004-11-30 06:28:53 +00:00
Chris Lattner
889e91d58d
New testcase for simplifycfg
...
llvm-svn: 18367
2004-11-30 00:31:16 +00:00
Reid Spencer
f8085812d9
Update the test to match the optimization. The optimization can let some
...
casts through, but they will only be sbyte -> ubyte in this test case so
make sure we don't let any other kinds through.
llvm-svn: 18313
2004-11-28 21:36:52 +00:00
Chris Lattner
1222964f2a
New testcase. The store is not dead here.
...
llvm-svn: 18307
2004-11-28 19:54:02 +00:00
Chris Lattner
9d313cfa1c
new testcase for PR463
...
llvm-svn: 18304
2004-11-28 16:47:46 +00:00
Reid Spencer
ad3016a273
Correct the RUN line to remove unneeded parameters and make sure the test
...
case is testing the right thing.
llvm-svn: 18302
2004-11-28 08:15:33 +00:00
Reid Spencer
2530e82275
Test case for PR454
...
llvm-svn: 18301
2004-11-28 04:29:29 +00:00
Chris Lattner
296f82b6cc
New testcase for PR447
...
llvm-svn: 18298
2004-11-28 01:22:49 +00:00
Chris Lattner
7a887d7c6c
New testcase for PR360
...
llvm-svn: 18296
2004-11-28 00:39:58 +00:00
Chris Lattner
fc19d3f070
New testcase for PR244
...
llvm-svn: 18294
2004-11-28 00:06:07 +00:00
Chris Lattner
f377ca43b3
New testcase for PR397
...
llvm-svn: 18292
2004-11-27 23:24:23 +00:00
Chris Lattner
212ade1830
new testcase
...
llvm-svn: 18290
2004-11-27 22:43:51 +00:00
Chris Lattner
94336bd4c7
New testcase
...
llvm-svn: 18284
2004-11-27 20:31:59 +00:00
Chris Lattner
d2c3a1a8d4
Pass in llvmgxx
...
llvm-svn: 18283
2004-11-27 20:31:14 +00:00
Chris Lattner
9d63271caa
New testcase for PR424
...
llvm-svn: 18281
2004-11-27 19:44:07 +00:00
Chris Lattner
7c4026ae24
New testcase
...
llvm-svn: 18272
2004-11-27 17:55:20 +00:00
Reid Spencer
a7c28bcd6d
Don't depend on grep or sed to be portable at all. Just compare against
...
static test files.
llvm-svn: 18271
2004-11-27 06:44:10 +00:00
Reid Spencer
79d941f784
Put the expected tables of contents of the test archives into separate
...
files so we don't have to process them at test time at all.
llvm-svn: 18270
2004-11-27 06:43:03 +00:00
Reid Spencer
4f102dd7fa
Use grep instead of sed because on Solaris sed doesn't copy null bytes and
...
it needs to in order for the bug in MacOSX archives to be tested correctly.
llvm-svn: 18269
2004-11-27 06:27:30 +00:00
Reid Spencer
532a662c80
Accommodate the braindead Solaris "diff" that doesn't understand the -q
...
option.
llvm-svn: 18268
2004-11-27 06:00:36 +00:00
Chris Lattner
bfee2ccd5b
new testcase basicaa should handle
...
llvm-svn: 18260
2004-11-26 19:19:28 +00:00
Chris Lattner
d0b3983275
New testcase for PR451
...
llvm-svn: 18236
2004-11-25 06:25:13 +00:00
Chris Lattner
f251eec757
Exit only with a value from 0-255.
...
llvm-svn: 18119
2004-11-22 19:50:41 +00:00
Chris Lattner
53e86c4bac
%p is expanded by dejagnu, avoid it in the test.
...
llvm-svn: 18118
2004-11-22 19:25:45 +00:00
Chris Lattner
2bcd603149
Pull out failing test into a seperate file, which is xfailed
...
llvm-svn: 18117
2004-11-22 19:24:11 +00:00
Chris Lattner
a6b1e0e787
This was fixed
...
llvm-svn: 18116
2004-11-22 19:19:11 +00:00
Chris Lattner
0157ac2de4
These tests really are failing, do not let them accidentally be XPASS.
...
Note that apparently 'failing command | succeeding command' is a fail on
csh but not on sh. :(
llvm-svn: 18114
2004-11-22 19:11:40 +00:00
Chris Lattner
ee59b6bf22
Don't stop make if there are XFAIL or XPASSes
...
llvm-svn: 18113
2004-11-22 19:06:22 +00:00
Reid Spencer
4aa5f67a2e
Make sure output goes in the temporary/output directory.
...
llvm-svn: 18096
2004-11-22 02:46:31 +00:00
Reid Spencer
d0572b45b1
* Undo previous commit that breaks the test.
...
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18094
2004-11-21 21:28:56 +00:00
Reid Spencer
687b0fa8fb
* Undo previous commit that breaks the test.
...
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18093
2004-11-21 21:22:56 +00:00
Reid Spencer
19bea847bc
Test archive built with GNU ar(1).
...
llvm-svn: 18076
2004-11-21 01:36:59 +00:00
Tanya Lattner
f3c3ba6b7a
Adding missing dg file.
...
llvm-svn: 18062
2004-11-20 23:51:38 +00:00
Tanya Lattner
017b0ec39b
Removing unnecessary copies. Use %p to reference them.
...
llvm-svn: 18059
2004-11-20 23:47:23 +00:00
Reid Spencer
ab8bf46913
Test floating point constants
...
llvm-svn: 18045
2004-11-20 07:29:51 +00:00
Reid Spencer
e1b2aabf10
An llvm-ar test.
...
llvm-svn: 18043
2004-11-20 07:25:41 +00:00
Reid Spencer
ead62081ea
Provide the srcdir variable.
...
llvm-svn: 18042
2004-11-20 07:25:10 +00:00
Reid Spencer
b4dd52ae4a
Describe the Archive test suite.
...
llvm-svn: 18041
2004-11-20 07:24:28 +00:00
Reid Spencer
374df50e95
Contents separated into individual tests.
...
llvm-svn: 18040
2004-11-20 07:23:56 +00:00
Tanya Lattner
5615a28d13
Forgot to join srcdir and subdir for complete path for input files.
...
llvm-svn: 18022
2004-11-19 23:00:19 +00:00
Tanya Lattner
8287d24dd3
Adding srcdir arg. Added ability to specify the path to an input file. This is needed for when srcdir != objdir.
...
llvm-svn: 18021
2004-11-19 22:46:23 +00:00
Tanya Lattner
f1e4bf5b66
Adding srcdir arg
...
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Reid Spencer
7ac3426f3b
Test case for reading MacOSX archives.
...
llvm-svn: 18014
2004-11-19 21:30:15 +00:00
Reid Spencer
23790aded8
MacOSX test archive (buggy).
...
llvm-svn: 18013
2004-11-19 21:29:45 +00:00
Reid Spencer
b8930d72ae
Make sure we can read an archive after it has been ranlib'd
...
llvm-svn: 18000
2004-11-19 18:44:31 +00:00
Reid Spencer
33fe653a94
Test case for xpg4 style archive files.
...
llvm-svn: 17984
2004-11-19 04:46:10 +00:00
Reid Spencer
866b586851
Test reading of SVR4 style archives with llvm-ar
...
llvm-svn: 17983
2004-11-19 04:45:19 +00:00
Reid Spencer
a8f3ed701a
Test case for reading SVR4 style archives.
...
llvm-svn: 17982
2004-11-19 04:33:13 +00:00
Reid Spencer
6abd4457e7
Solaris built archives in SVR4 and XPG4 styles.
...
llvm-svn: 17980
2004-11-19 03:41:57 +00:00
Reid Spencer
9aa7a2b468
A test file that goes into the test archive.
...
llvm-svn: 17978
2004-11-19 03:24:02 +00:00
Reid Spencer
519a247cf1
Obligatory DejaGnu/expect file.
...
llvm-svn: 17974
2004-11-19 02:26:35 +00:00
Chris Lattner
9d339a75ae
New testcase that crashes licm
...
llvm-svn: 17912
2004-11-17 17:39:19 +00:00
Chris Lattner
6e7336cc81
New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
...
out this recent regression
llvm-svn: 17898
2004-11-16 16:39:20 +00:00
Chris Lattner
78d31c13ff
New testcase. Believe it or not, this happens a LOT in vortex
...
llvm-svn: 17745
2004-11-14 20:41:39 +00:00
Chris Lattner
fd6a717b95
New testcase: the phi can be eliminated if the casts are sucked into it.
...
Note that this reduces code size anyway (as well as making further
optimizations simpler) so it's always a win.
llvm-svn: 17739
2004-11-14 19:12:17 +00:00
Chris Lattner
2d6843c2f7
Fix typo
...
llvm-svn: 17738
2004-11-14 17:54:58 +00:00
Chris Lattner
8875ae91a4
add a testcase, which we already handle
...
llvm-svn: 17737
2004-11-14 17:54:27 +00:00
Chris Lattner
a86e8783e8
Oops, make this test the right thing.
...
llvm-svn: 17731
2004-11-14 06:11:41 +00:00
Chris Lattner
37d2cd7cd6
New testcase
...
llvm-svn: 17729
2004-11-14 06:02:46 +00:00
Chris Lattner
8076a5de30
New testcase, SROA with variable array index
...
llvm-svn: 17726
2004-11-14 04:58:40 +00:00
Tanya Lattner
0fbc9c8350
setting path to prcontext.tcl script. Right now it searches for tclsh in your path, but this should be obtained from configure.
...
llvm-svn: 17720
2004-11-13 23:36:18 +00:00
Chris Lattner
0a205ead8b
Add a testcase we should continue to argpromote
...
llvm-svn: 17717
2004-11-13 23:30:22 +00:00
Chris Lattner
70496c1728
Add a testcase for a function we cannot legally promote the argument of.
...
llvm-svn: 17716
2004-11-13 23:28:39 +00:00
Tanya Lattner
79d046ba70
Run prcontext.tcl with tclsh and let it be found in the path. This should be found by configure.
...
llvm-svn: 17713
2004-11-13 23:16:17 +00:00
Tanya Lattner
4afaf40a28
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
Tanya Lattner
bb05cd7f85
Changed to use tcl script.
...
llvm-svn: 17711
2004-11-13 22:55:51 +00:00
Chris Lattner
a259bd9d67
New testcase
...
llvm-svn: 17709
2004-11-13 22:21:15 +00:00
Tanya Lattner
b947fb3e95
Rewrote prcontext.py in tcl.
...
llvm-svn: 17708
2004-11-13 21:03:22 +00:00
Chris Lattner
f6392b4616
New testcase
...
llvm-svn: 17703
2004-11-13 19:49:39 +00:00
Chris Lattner
8cc98850f9
New testcase
...
llvm-svn: 17698
2004-11-13 00:06:32 +00:00
Chris Lattner
ba582f0d11
new testcase
...
llvm-svn: 17678
2004-11-11 07:46:11 +00:00
Chris Lattner
59e5462557
New testcase
...
llvm-svn: 17665
2004-11-10 19:43:31 +00:00
Reid Spencer
981afd7c1c
Document quick-test target.
...
llvm-svn: 17644
2004-11-09 06:32:58 +00:00
Reid Spencer
3006081612
Add a quick-test target that uses QUICKTEST variable to quickly run a
...
portion of the test suite. e.g.:
make quck-test QUICKTEST=Regression/Bytecode
llvm-svn: 17643
2004-11-09 06:28:32 +00:00
Chris Lattner
1276fbe8ba
Name file properly
...
llvm-svn: 17641
2004-11-09 05:07:01 +00:00
Chris Lattner
5a1e9bf72f
Hrm, don't ask how I ran into this bug
...
llvm-svn: 17640
2004-11-09 05:06:23 +00:00
Alkis Evlogimenos
eb4dbfd4e2
Move path override in test/Makefile.
...
llvm-svn: 17613
2004-11-08 05:44:05 +00:00
Tanya Lattner
8fabe17ced
Now using path to python found by configure.
...
llvm-svn: 17610
2004-11-08 03:26:59 +00:00
Reid Spencer
6bf36bdefb
Add the RUNTEST autoconf onfiguration variable for Deja-gnu support. This
...
tool runs Deja-gnu test suites. The 'make' variable RUNTEST is now set
automatically in the Makefile.config file.
llvm-svn: 17599
2004-11-07 23:29:39 +00:00
Tanya Lattner
d8f25acec4
Changed TEST to TESTSUITE
...
llvm-svn: 17598
2004-11-07 23:26:13 +00:00
Tanya Lattner
5f06ac1762
Fix for objdir != srcdir.
...
llvm-svn: 17597
2004-11-07 23:24:21 +00:00
Tanya Lattner
7095a68e49
More srcdir != objdir changes.
...
llvm-svn: 17596
2004-11-07 23:21:50 +00:00
Tanya Lattner
c7392e0662
Made changes to support objdir!=srcdir.
...
llvm-svn: 17590
2004-11-07 22:04:21 +00:00
Tanya Lattner
71a3368fdd
Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags.
...
llvm-svn: 17586
2004-11-07 21:39:41 +00:00
Tanya Lattner
7aad4fef81
Added support to specify which test suite dejagnu should run (Feature or Regression). Use TEST=suite
...
llvm-svn: 17572
2004-11-07 08:24:59 +00:00
Chris Lattner
db83a85dbf
Revert back to r1.1, I'm just thoroughly confused :)
...
llvm-svn: 17571
2004-11-07 07:46:15 +00:00
Chris Lattner
1126abf1e9
Add new (old) testcase
...
llvm-svn: 17570
2004-11-07 07:41:32 +00:00
Tanya Lattner
84f7fda32f
Added RUN lines and dejagnu support for Feature dir.
...
llvm-svn: 17568
2004-11-07 06:08:43 +00:00
Chris Lattner
fbb15f39b8
Add missing file header
...
Add some comments
Switch to use 'find' to do the clean instead of globbing
llvm-svn: 17559
2004-11-07 05:05:37 +00:00
Tanya Lattner
90b172ea93
Removing old Modulosched tests since that version of modulosched does not exist anymore and llc does not support modulosched by default.
...
llvm-svn: 17558
2004-11-07 05:04:58 +00:00
Tanya Lattner
3b71027e18
With the changes to these files, the Regression test suite should be tested by dejagnu without anyproblem.
...
Some variables could be made global.
llvm-svn: 17557
2004-11-07 05:02:56 +00:00
Tanya Lattner
62f096877f
Added RUN line.
...
llvm-svn: 17556
2004-11-07 05:01:34 +00:00
Tanya Lattner
9082d7a6fd
Added rough support for dejagnu testing. Changes need to be made to autoconf to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash.
...
The dejagnu-clean needs to be fixed to use find.
llvm-svn: 17555
2004-11-07 04:59:52 +00:00
Tanya Lattner
902d8d58f6
Changed to XFAIL
...
llvm-svn: 17554
2004-11-07 04:37:08 +00:00
Chris Lattner
4c5a8055c9
Update this to expect AT&T syntax
...
llvm-svn: 17552
2004-11-07 01:46:16 +00:00