Chris Lattner
9ce649f66e
force a cpu without SSE
...
llvm-svn: 38466
2007-07-09 17:35:18 +00:00
Chris Lattner
5f21d8c4a8
allow this to work on ppc-darwin
...
llvm-svn: 38465
2007-07-09 17:32:28 +00:00
Chris Lattner
587e824b72
remove this bogus t-t
...
llvm-svn: 38464
2007-07-09 17:31:07 +00:00
Chris Lattner
d1f424ccfb
add target triple to fix PR1546
...
llvm-svn: 38462
2007-07-09 17:14:58 +00:00
Dan Gohman
b73f9e21e9
Add explicit triples to these tests so that llc behaves as expected on
...
non-Apple hosts.
llvm-svn: 38455
2007-07-09 13:42:32 +00:00
Dan Gohman
91b1ffd6c4
Add an explicit triple to the big-endian tests so that the assembly
...
output format is always consistent with what the greps are looking for.
llvm-svn: 37943
2007-07-06 13:15:51 +00:00
Duncan Sands
3526ada4dc
Test that byte offsets are used to index into the list
...
of filter ids, and not simply the id index. Testing
this requires at least 128 type infos!
llvm-svn: 37941
2007-07-06 12:38:27 +00:00
Evan Cheng
3974939d92
Fix test.
...
llvm-svn: 37928
2007-07-05 23:00:50 +00:00
Chris Lattner
b11af79de8
avoid ambiguity in target selection
...
llvm-svn: 37927
2007-07-05 22:16:19 +00:00
Dan Gohman
90c6b87b31
Add a parameter to getCopyToParts and getCopyFromParts to specify whether
...
endian swapping should be done, and update the code to use it. This fixes
some register ordering issues on big-endian systems, such as PowerPC,
introduced by the recent illegal by-val arguments changes.
llvm-svn: 37921
2007-07-05 20:12:34 +00:00
Bill Wendling
3600c7a835
Allow a GR64 to be moved into an MMX register via the "movd" instruction.
...
Still need to have JIT generate this code.
llvm-svn: 37863
2007-07-04 00:19:54 +00:00
Dale Johannesen
a12e448c37
New testcases for rev 37847 (PR's 1489 and 1505).
...
llvm-svn: 37848
2007-07-03 00:58:37 +00:00
Dan Gohman
965e6efe24
Add a basic test-case for passing and returning <4 x double> and
...
<8 x float> values on X86.
llvm-svn: 37845
2007-07-02 16:23:47 +00:00
Dan Gohman
f46ec01deb
New test case. DAGCombiner should be able to fold -sin(-x)
...
in -enable-unsafe-fp-math mode.
llvm-svn: 37841
2007-07-02 15:43:20 +00:00
Evan Cheng
bf3744d05b
New test.
...
llvm-svn: 37823
2007-06-29 23:17:15 +00:00
Evan Cheng
f07b7f27f2
New test.
...
llvm-svn: 37815
2007-06-29 21:40:30 +00:00
John Criswell
57e5ed4b5a
Convert .cvsignore files
...
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Evan Cheng
a328677ae1
New test.
...
llvm-svn: 37791
2007-06-29 01:36:33 +00:00
Evan Cheng
995493fd4a
New tests.
...
llvm-svn: 37787
2007-06-29 00:27:18 +00:00
Dan Gohman
ad9cbaba40
Fix an assertion failure in legalizing bitcast operators on targets where
...
vectors are split down to single elements as part of legalization.
llvm-svn: 37785
2007-06-29 00:09:08 +00:00
Evan Cheng
e139181e1c
Fix tests.
...
llvm-svn: 37693
2007-06-21 18:22:42 +00:00
Evan Cheng
56938a1fd8
New tests.
...
llvm-svn: 37686
2007-06-21 07:40:00 +00:00
Evan Cheng
d9dca9363c
Added some if-conversion tests.
...
llvm-svn: 37672
2007-06-20 18:26:15 +00:00
Evan Cheng
f1397aafd9
New test case: identity operation of RHS / LHS of a VECTOR_SHUFFLE.
...
llvm-svn: 37637
2007-06-19 00:06:08 +00:00
Chris Lattner
4534df9032
ensure we don't regress on these tests. We generate aweful code in x86-32 for
...
these though.
llvm-svn: 37619
2007-06-17 23:29:57 +00:00
Bill Wendling
ad8326e004
XFAILing until I can fix properly.
...
llvm-svn: 37618
2007-06-16 23:57:51 +00:00
Bill Wendling
e90b29f646
Testcase for MMX int to MMX register failure.
...
llvm-svn: 37612
2007-06-16 06:31:47 +00:00
Chris Lattner
f75572a776
make this test harder, include a tied register.
...
llvm-svn: 37600
2007-06-15 19:09:53 +00:00
Duncan Sands
deef6fe78b
Workaround for PR1508.
...
llvm-svn: 37597
2007-06-15 19:04:19 +00:00
Dale Johannesen
62f49dd524
Do not treat FP_REG_KILL as terminator in branch analysis (X86).
...
llvm-svn: 37578
2007-06-14 22:03:45 +00:00
Duncan Sands
e2f26d06a6
"Simplified" testcase for PR1422.
...
llvm-svn: 37462
2007-06-06 09:59:53 +00:00
Chris Lattner
ea380b16b7
new testcase for PR1495
...
llvm-svn: 37452
2007-06-06 01:21:46 +00:00
Evan Cheng
ba4c97df9f
New test.
...
llvm-svn: 37431
2007-06-05 01:45:08 +00:00
Dale Johannesen
a68662e4a4
Tail merging wasn't working for predecessors of landing pads. PR 1496.
...
llvm-svn: 37427
2007-06-04 23:52:54 +00:00
Dale Johannesen
fd7f1ad2f7
Implement smarter algorithm for choosing which blocks to tail-merge.
...
See test/CodeGen/X86/test-pic-jtbl.ll for a case where it works well;
shaves another 10K off our favorite benchmark. I was hesitant about
this because of compile speed, but seems to do OK on a bootstrap.
llvm-svn: 37392
2007-06-01 23:02:45 +00:00
Lauro Ramos Venancio
afcdd2546e
Add a test for PR1424.
...
llvm-svn: 37372
2007-05-31 18:36:07 +00:00
Chris Lattner
932fba07e5
new testcase for PR1473
...
llvm-svn: 37361
2007-05-30 16:29:20 +00:00
Evan Cheng
e69eb98312
Add a new test case.
...
llvm-svn: 37317
2007-05-24 02:31:15 +00:00
Dale Johannesen
54db6d2e4d
tail merging shrinks this code a bit. Could do more in future.
...
llvm-svn: 37316
2007-05-23 21:09:26 +00:00
Dale Johannesen
53a2f3b4e4
new testcases for -enable-tail-merge default handling
...
llvm-svn: 37287
2007-05-22 17:19:23 +00:00
Dale Johannesen
91ec0a7822
Test assumes tail merging is off; this must now be explicit.
...
llvm-svn: 37286
2007-05-22 17:18:05 +00:00
Evan Cheng
cfb1ffc73f
Add test for PR1259.
...
llvm-svn: 37273
2007-05-21 23:30:33 +00:00
Chris Lattner
ac4e2f1414
add source
...
llvm-svn: 37253
2007-05-19 01:22:52 +00:00
Chris Lattner
a0fc844390
new testcase
...
llvm-svn: 37251
2007-05-19 01:21:39 +00:00
Chris Lattner
26266f163a
new testcase
...
llvm-svn: 37245
2007-05-19 00:41:40 +00:00
Evan Cheng
c741fd8106
New test case.
...
llvm-svn: 37174
2007-05-17 18:49:50 +00:00
Chris Lattner
5f91019b13
add testcase for 128-bit add/sub
...
llvm-svn: 37170
2007-05-17 18:22:37 +00:00
Chris Lattner
4922cfb5b2
testcase for PR1427
...
llvm-svn: 37140
2007-05-17 03:29:17 +00:00
Chris Lattner
7db5630b2b
testcase for maskmovq
...
llvm-svn: 37101
2007-05-16 06:14:10 +00:00
Lauro Ramos Venancio
251ea5ab65
Fix an infinite recursion in GetNegatedExpression.
...
llvm-svn: 37086
2007-05-15 17:05:43 +00:00
Chris Lattner
a18749e96e
new testcase that crashes llc
...
llvm-svn: 37068
2007-05-15 01:33:12 +00:00
Chris Lattner
cba64c6a47
testcase that crashes llc
...
llvm-svn: 37059
2007-05-15 01:13:42 +00:00
Chris Lattner
a4c8056268
new testcase
...
llvm-svn: 37053
2007-05-14 22:04:16 +00:00
Evan Cheng
bdc4c1ebc5
Test for PR1406.
...
llvm-svn: 37051
2007-05-14 21:12:43 +00:00
Evan Cheng
eee2e3bfab
New test.
...
llvm-svn: 37048
2007-05-14 20:47:21 +00:00
Evan Cheng
0f1466ebc1
Doh. .cpp -> .ll
...
llvm-svn: 37047
2007-05-14 20:43:28 +00:00
Lauro Ramos Venancio
c6d71fb584
Enable aliases on arm-linux.
...
llvm-svn: 37042
2007-05-14 18:32:56 +00:00
Reid Spencer
11493e0bcd
Reverse last patch .. premature. Depends on uncommitted CBE patch.
...
llvm-svn: 37039
2007-05-14 17:58:52 +00:00
Reid Spencer
c8202a622f
Update this test to match the (corrected) output from the CBE.
...
llvm-svn: 37038
2007-05-14 17:56:39 +00:00
Dale Johannesen
3099de1972
Another test for tail mergeing
...
llvm-svn: 36967
2007-05-10 01:04:28 +00:00
Evan Cheng
d70be3bdee
Can't fold bit_convert into truncating store.
...
llvm-svn: 36963
2007-05-09 21:54:34 +00:00
Anton Korobeynikov
4423f1a3fd
Do not assert, when case range split metric is zero and JTs are not allowed: just emit binary tree in this case. This
...
fixes PR1403.
llvm-svn: 36959
2007-05-09 20:07:08 +00:00
Evan Cheng
bbb8e8f7cd
PR1399 test case.
...
llvm-svn: 36957
2007-05-09 19:20:37 +00:00
Dale Johannesen
e6b2d045cc
testcase for CodeGenPrepare bug fixed yesterday
...
llvm-svn: 36940
2007-05-08 17:44:36 +00:00
Chris Lattner
63ddb501d3
move this out of Codegen/Generic, because it requires the ARM backend to be
...
linked into llc
llvm-svn: 36919
2007-05-08 02:19:56 +00:00
Chris Lattner
7875baf30c
move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
...
llvm-svn: 36918
2007-05-08 02:13:52 +00:00
Evan Cheng
cd3d36aaa6
Fix tests.
...
llvm-svn: 36913
2007-05-07 21:50:07 +00:00
Evan Cheng
8a0c9364bc
Add some tests for (conv (load x)) -> (load (conv*)x) xform.
...
llvm-svn: 36912
2007-05-07 21:49:35 +00:00
Evan Cheng
ffeb94f21f
Fix test case.
...
llvm-svn: 36911
2007-05-07 21:38:05 +00:00
Dale Johannesen
c884abe112
Handle some non-exit blocks in tail merging.
...
llvm-svn: 36907
2007-05-07 20:57:21 +00:00
Duncan Sands
f84f319401
Testcase for PR1398.
...
llvm-svn: 36905
2007-05-07 20:45:20 +00:00
Lauro Ramos Venancio
236cf4a51b
Fix PR1390.
...
Don't spill extra register to align the stack.
llvm-svn: 36814
2007-05-05 23:44:41 +00:00
Chris Lattner
341cb5adc8
the sparc v8 backend handles this correctly
...
llvm-svn: 36801
2007-05-05 22:12:57 +00:00
Chris Lattner
c2c16a967e
remove this xfail'd test, move it to the X86 readme.
...
llvm-svn: 36800
2007-05-05 22:10:53 +00:00
Chris Lattner
d3d8aaf877
We need support for tail calls, this is moved to PR1392
...
llvm-svn: 36798
2007-05-05 22:03:12 +00:00
Chris Lattner
9808f834ba
remove xfailed testcase (attached to pr)
...
llvm-svn: 36797
2007-05-05 21:57:34 +00:00
Chris Lattner
67a434ebb5
unxfail this, llc doesn't support this feature yet, so don't run it.
...
llvm-svn: 36796
2007-05-05 21:51:34 +00:00
Duncan Sands
443ccb4591
Check that the right eh personality function is used.
...
llvm-svn: 36788
2007-05-05 20:22:08 +00:00
Chris Lattner
faf5ed3a6b
new testcase for PR1371
...
llvm-svn: 36786
2007-05-05 19:38:43 +00:00
Duncan Sands
a3171eb245
Test that the eh lowering code can handle constant folded bitcasts.
...
llvm-svn: 36746
2007-05-04 17:14:42 +00:00
Evan Cheng
d5ddb11361
Test load global in static mode.
...
llvm-svn: 36719
2007-05-04 00:29:34 +00:00
Evan Cheng
f408ed9976
New test case.
...
llvm-svn: 36717
2007-05-03 23:53:36 +00:00
Dale Johannesen
d28d0bac2a
Evan's patch to avoid FPreg->intreg copy for cvt; store to mem
...
llvm-svn: 36693
2007-05-03 20:54:42 +00:00
Evan Cheng
3116234ebc
negatize -> negative
...
llvm-svn: 36683
2007-05-03 18:20:17 +00:00
Chris Lattner
38370606b5
new testcase
...
llvm-svn: 36671
2007-05-03 16:54:08 +00:00
Chris Lattner
c777983d43
match a reassociated form of fnmul
...
llvm-svn: 36659
2007-05-03 00:31:40 +00:00
Reid Spencer
01a611f06a
Split target dependent test portions to target-specific directories.
...
llvm-svn: 36612
2007-05-01 02:56:15 +00:00
Evan Cheng
5793434ac3
Test a dag combiner crasher.
...
llvm-svn: 36605
2007-05-01 00:40:38 +00:00
Chris Lattner
ffb1892f98
testcase for PR1228
...
llvm-svn: 36601
2007-04-30 23:34:46 +00:00
Chris Lattner
94eb923292
testcase for PR1357
...
llvm-svn: 36598
2007-04-30 21:10:13 +00:00
Reid Spencer
6045236615
For PR1370:
...
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.
llvm-svn: 36587
2007-04-30 05:11:58 +00:00
Anton Korobeynikov
f807cfe71f
Updated aliases test
...
llvm-svn: 36558
2007-04-29 10:34:42 +00:00
Chris Lattner
937ced8d2c
new testcase for PR1356
...
llvm-svn: 36535
2007-04-28 06:41:13 +00:00
Chris Lattner
782ebe9f8a
ensure the operand prints.
...
llvm-svn: 36533
2007-04-28 06:07:55 +00:00
Chris Lattner
4a79914438
new testcase
...
llvm-svn: 36532
2007-04-28 06:05:59 +00:00
Chris Lattner
287a590e95
update syntax
...
llvm-svn: 36531
2007-04-28 06:03:12 +00:00
Chris Lattner
6556ee94c9
update for new inline asm syntax
...
llvm-svn: 36526
2007-04-28 05:20:26 +00:00
Lauro Ramos Venancio
8226832ec6
fix the test tls1.
...
llvm-svn: 36517
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
0917ab8b29
add TLS tests.
...
llvm-svn: 36516
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
f9641d332a
In Thumb mode, the frame register must be R7.
...
llvm-svn: 36512
2007-04-27 17:58:03 +00:00
Chris Lattner
d6a01ade78
make this testcase harder, to cover PR1326
...
llvm-svn: 36509
2007-04-27 17:12:23 +00:00
Duncan Sands
4444cfb768
Test that eh_selector lowering accepts global variables as well as bitcasts
...
of global variables.
llvm-svn: 36500
2007-04-27 06:56:53 +00:00
Anton Korobeynikov
0c27d56340
Unxfail tests
...
llvm-svn: 36497
2007-04-26 21:20:04 +00:00
Dan Gohman
a5891279ef
testcase for PR1339: http://llvm.org/PR1339
...
llvm-svn: 36492
2007-04-26 21:04:39 +00:00
Anton Korobeynikov
4ddd712259
Add test to proper place. Also, XFAIL until ppc bootstrap will be ok.
...
llvm-svn: 36491
2007-04-26 20:49:05 +00:00
Anton Korobeynikov
3e0f9076d0
Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32
...
llvm-svn: 36490
2007-04-26 20:44:04 +00:00
Evan Cheng
908f2265de
PR1348 test case.
...
llvm-svn: 36457
2007-04-26 01:14:14 +00:00
Evan Cheng
1f7af4892a
New test case.
...
llvm-svn: 36455
2007-04-26 00:07:36 +00:00
Chris Lattner
22ce25e1ec
&& no longer needed
...
llvm-svn: 36453
2007-04-25 22:32:55 +00:00
Bill Wendling
43dbe6d0d2
Testcase for codegen bug.
...
llvm-svn: 36450
2007-04-25 21:58:17 +00:00
Lauro Ramos Venancio
d922b8ca9b
remember to emit weak reference in one more case.
...
llvm-svn: 36438
2007-04-25 14:50:40 +00:00
Anton Korobeynikov
25dc9a61cb
Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
...
will follow.
llvm-svn: 36435
2007-04-25 14:27:10 +00:00
Chris Lattner
a5b8a2b50e
new testcase that crashes llc
...
llvm-svn: 36412
2007-04-25 00:00:12 +00:00
Chris Lattner
f20a2f1083
testcase for PR1351
...
llvm-svn: 36409
2007-04-24 22:49:57 +00:00
Bill Wendling
c41beb8e13
Testcases for MMX.
...
llvm-svn: 36408
2007-04-24 22:28:30 +00:00
Lauro Ramos Venancio
e9c75ee05b
Add TLS tests.
...
llvm-svn: 36360
2007-04-23 01:29:35 +00:00
Andrew Lenharth
5de8804b02
simplify this test until it can be dealt with
...
llvm-svn: 36351
2007-04-22 20:58:56 +00:00
Lauro Ramos Venancio
f8b49e5ee0
Implement PIC for arm-linux.
...
llvm-svn: 36324
2007-04-22 00:04:12 +00:00
Reid Spencer
6dbda77071
Use the llvm_supports_target function to prevent running of tests for
...
targets that LLVM is not configured to support.
llvm-svn: 36315
2007-04-21 20:41:27 +00:00
Evan Cheng
98d8512d2c
Fix test.
...
llvm-svn: 36266
2007-04-20 00:45:36 +00:00
Chris Lattner
4bb1ca868a
new testcase
...
llvm-svn: 36243
2007-04-18 03:04:37 +00:00
Evan Cheng
8080cdfd60
New crasher test case.
...
llvm-svn: 36241
2007-04-18 02:35:10 +00:00
Chris Lattner
14205a32d2
new testcase
...
llvm-svn: 36230
2007-04-17 23:43:31 +00:00
Chris Lattner
c09249e3ba
new testcase
...
llvm-svn: 36220
2007-04-17 21:12:26 +00:00
Chris Lattner
12ffa2d85a
new testcase
...
llvm-svn: 36211
2007-04-17 19:03:02 +00:00
Anton Korobeynikov
9bc4b792bf
Implemented correct stack probing on mingw/cygwin for dynamic alloca's.
...
Also, fixed static case in presence of eax livin. This fixes PR331
PS: Why don't we still have push/pop instructions? :)
llvm-svn: 36195
2007-04-17 09:20:00 +00:00
Andrew Lenharth
38746c38c6
this is fixed
...
llvm-svn: 36190
2007-04-17 04:07:27 +00:00
Reid Spencer
37a1d7f441
Also validate that the code generation of IntrinsicLowering for LLI works.
...
llvm-svn: 36175
2007-04-16 21:52:56 +00:00
Chris Lattner
8e80b077c8
refix this
...
llvm-svn: 36172
2007-04-16 21:30:21 +00:00
Chris Lattner
21e25d6aa6
use an x86 t-t for an x86 test. Thanks to Dan for noticing this!
...
llvm-svn: 36170
2007-04-16 21:26:37 +00:00
Chris Lattner
513bdd23e0
fix this test
...
llvm-svn: 36160
2007-04-16 21:05:37 +00:00
Evan Cheng
097bb4df97
Fixes tests and remove xfail.
...
llvm-svn: 36152
2007-04-16 20:04:11 +00:00
Evan Cheng
fe50dfe505
One more callee-saved register used.
...
llvm-svn: 36151
2007-04-16 18:59:25 +00:00
Evan Cheng
1f054dca9e
Fix test.
...
llvm-svn: 36150
2007-04-16 18:55:46 +00:00
Reid Spencer
b5051162e4
For PR1336:
...
Un-XFAIL because this passes now.
llvm-svn: 36145
2007-04-16 17:51:25 +00:00
Reid Spencer
df17fa8ef9
For PR1319:
...
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.
llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio
806f696b15
Fix hello.ll test.
...
llvm-svn: 36141
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio
de6ca2dfe1
Fix align test.
...
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Reid Spencer
43899915e9
For PR1319:
...
Fix syntax of tests to ensure grep pattern is properly quoted.
llvm-svn: 36134
2007-04-16 15:31:49 +00:00
Reid Spencer
d93b834b52
For PR1319:
...
Fix test syntax per new rules.
llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer
8e4a595f77
For PR1336:
...
Rename test functions to not conflict with an instruction mnemonic.
llvm-svn: 36130
2007-04-16 14:23:07 +00:00
Reid Spencer
bb43799aa9
For PR1336:
...
Ignore case for instruction mnemonic comparison.
llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer
37e4686e85
Wrap long line.
...
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer
92d0a986ea
For PR1336:
...
Ignore case for register name compare.
llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer
2cc50a23a4
For PR1336:
...
Un-XFAIL as Alpha feature now specified in lower case.
llvm-svn: 36126
2007-04-16 14:07:53 +00:00
Chris Lattner
842a99ced1
fix incorrectly upgraded test, add PR#
...
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
06c1806166
Fix an intrinsic name.
...
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
419dcddb2d
For PR1336:
...
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning
llvm-svn: 36109
2007-04-16 03:18:25 +00:00
Reid Spencer
e652d49c05
For PR1336:
...
Upgrade the intrinsic to its new form.
llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
ac781b1f94
For PR1336:
...
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.
llvm-svn: 36107
2007-04-16 03:06:39 +00:00
Reid Spencer
8f0fe6f2cf
For PR1336:
...
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.
llvm-svn: 36093
2007-04-15 23:00:46 +00:00
Reid Spencer
9d19c17dab
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
49c74d2ff7
this test isn't testing what it thought it was
...
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
e5e75c56db
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
47d1aeeb51
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
a67bc1c0e9
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36080
2007-04-15 19:35:51 +00:00
Reid Spencer
dcec7f9133
Make this test work.
...
llvm-svn: 36079
2007-04-15 19:28:23 +00:00
Reid Spencer
fa801f52d9
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36077
2007-04-15 19:21:54 +00:00
Reid Spencer
b6fe525070
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36076
2007-04-15 19:11:47 +00:00
Reid Spencer
e36e64ee35
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36075
2007-04-15 18:40:57 +00:00
Chris Lattner
72c75b766c
xfail for now
...
llvm-svn: 36033
2007-04-14 23:40:49 +00:00
Chris Lattner
87995a803b
fix test for linux hosts.
...
llvm-svn: 36026
2007-04-14 23:04:30 +00:00
Anton Korobeynikov
bdb4f560da
Fix PR1325: Case range optimization was performed in the case it
...
shouldn't. Also fix some "latent" bug on 64-bit platforms
llvm-svn: 35990
2007-04-14 13:25:55 +00:00
Chris Lattner
cbe92494fd
xfail this for now
...
llvm-svn: 35973
2007-04-13 22:20:27 +00:00
Chris Lattner
ef78f89fa5
new lsr testcase
...
llvm-svn: 35971
2007-04-13 20:38:14 +00:00
Chris Lattner
c65c4e9916
New testcase
...
llvm-svn: 35969
2007-04-13 20:28:08 +00:00
Anton Korobeynikov
5bb6590218
Fix PR1323 : we haven't updated phi nodes in good manner :)
...
llvm-svn: 35963
2007-04-13 06:53:51 +00:00
Chris Lattner
ee73b503a4
make this really work on linux :)
...
llvm-svn: 35948
2007-04-12 18:10:16 +00:00
Chris Lattner
62374cc05e
make this happier on linux hosts
...
llvm-svn: 35947
2007-04-12 18:09:06 +00:00
Chris Lattner
e3db14f830
new testcase
...
llvm-svn: 35942
2007-04-12 05:58:21 +00:00
Reid Spencer
56b310ae49
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Chris Lattner
e557a69c34
this got better
...
llvm-svn: 35908
2007-04-11 16:12:27 +00:00
Chris Lattner
0bf024fb83
change test name.
...
llvm-svn: 35904
2007-04-11 15:24:04 +00:00
Chris Lattner
787c0a4e5b
new testcase
...
llvm-svn: 35882
2007-04-11 05:32:13 +00:00
Chris Lattner
e827f7dfe6
new testcases for integer abs function
...
llvm-svn: 35880
2007-04-11 05:02:57 +00:00
Anton Korobeynikov
6ee97ee42a
Next stage into switch lowering refactoring
...
1. Fix some bugs in the jump table lowering threshold
2. Implement much better metric for optimal pivot selection
3. Tune thresholds for different lowering methods
4. Implement shift-and trick for lowering small (<machine word
length) cases with few destinations. Good testcase will follow.
llvm-svn: 35816
2007-04-09 12:31:58 +00:00
Chris Lattner
d75e2127c8
add another test
...
llvm-svn: 35801
2007-04-09 05:26:48 +00:00
Chris Lattner
45ebb3ba95
The x constraint allows scalar FP values as well as vectors.
...
llvm-svn: 35798
2007-04-09 05:11:03 +00:00
Chris Lattner
5a5aeaf596
new testcase for PR1308
...
llvm-svn: 35784
2007-04-09 00:45:42 +00:00
Chris Lattner
b9f8792e26
testcase for PR1314
...
llvm-svn: 35778
2007-04-08 22:22:53 +00:00
Reid Spencer
f71d4af0e5
XFAIL this test for now. It will be a while before I can implement this
...
intrinsic properly in SDISel.
llvm-svn: 35692
2007-04-05 22:57:45 +00:00
Anton Korobeynikov
ceb6667a6f
Fix test
...
llvm-svn: 35683
2007-04-05 16:43:09 +00:00
Reid Spencer
6eb55df794
Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.
...
llvm-svn: 35678
2007-04-04 23:48:25 +00:00
Anton Korobeynikov
018c52ef1b
Fix test
...
llvm-svn: 35673
2007-04-04 21:28:36 +00:00
Anton Korobeynikov
e16f421e0e
Properly emit range comparisons for switch cases, where neighbour cases
...
go to the same destination. Now we're producing really good code for
switch-lower-feature.ll testcase
llvm-svn: 35672
2007-04-04 21:14:49 +00:00
Evan Cheng
89768803e7
Better still.
...
llvm-svn: 35663
2007-04-04 08:49:40 +00:00
Evan Cheng
8cd7d8dc77
Fix test case.
...
llvm-svn: 35662
2007-04-04 07:41:33 +00:00
Evan Cheng
3af3f8e696
These got better.
...
llvm-svn: 35661
2007-04-04 07:41:15 +00:00
Evan Cheng
5bd266a791
New asm test case.
...
llvm-svn: 35641
2007-04-04 00:15:17 +00:00
Evan Cheng
8a281b1e57
New test case.
...
llvm-svn: 35636
2007-04-03 23:40:54 +00:00
Evan Cheng
f9da057ef8
New test case.
...
llvm-svn: 35628
2007-04-03 21:38:03 +00:00
Chris Lattner
caf2381689
new testcase, where we should use a negative stride
...
llvm-svn: 35608
2007-04-03 00:13:16 +00:00
Chris Lattner
03edb8b08e
Add a regtest for cases we now recognize as rotates, thanks to Scott Michel's
...
recent dagcombine patch
llvm-svn: 35606
2007-04-02 22:08:54 +00:00
Chris Lattner
3d0eeb2046
fix this testcase on ppc hosts
...
llvm-svn: 35603
2007-04-02 20:39:48 +00:00
Evan Cheng
b114ed90de
New test case.
...
llvm-svn: 35599
2007-04-02 18:47:13 +00:00
Chris Lattner
c597fc9196
new testcase.
...
llvm-svn: 35591
2007-04-02 06:33:10 +00:00
Chris Lattner
acb971cbc3
new testcase
...
llvm-svn: 35589
2007-04-02 05:57:59 +00:00
Chris Lattner
c873153cbd
my patch fixed the fixme.
...
llvm-svn: 35582
2007-04-02 05:08:54 +00:00
Chris Lattner
e431a9d714
new testcase for PR1296
...
llvm-svn: 35574
2007-04-02 01:32:59 +00:00
Lauro Ramos Venancio
7e21418680
- Divides the comparisons in two types: comparisons that only use N and Z
...
flags (ARMISD::CMPNZ) and comparisons that use all flags (ARMISD::CMP).
- Defines the instructions: TST, TEQ (ARM) and TST (Thumb).
llvm-svn: 35573
2007-04-02 01:30:03 +00:00
Reid Spencer
6a1841b291
Let llvm-upgrade upgrade the bswap intrinsic.
...
llvm-svn: 35569
2007-04-02 01:09:19 +00:00
Reid Spencer
13f5561e12
Let llvm-upgrade upgrade bswap intrinsic.
...
llvm-svn: 35568
2007-04-02 01:08:02 +00:00
Reid Spencer
81c0ac434f
Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of
...
this intrinsic.
llvm-svn: 35566
2007-04-02 00:51:15 +00:00
Reid Spencer
f5e95d339f
For PR1297:
...
Update these test cases to use proper signatures for bswap which is now
and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32
since both the parameter and the result or of type "iAny". Also, the
bit counting intrinsics changed to always return i32.
llvm-svn: 35548
2007-04-01 07:36:28 +00:00
Evan Cheng
aca424091b
Missing '&&'
...
llvm-svn: 35519
2007-03-30 22:03:49 +00:00
Chris Lattner
8c48bc4ec0
add a testcase for x86
...
llvm-svn: 35516
2007-03-30 21:22:46 +00:00
Evan Cheng
972e65f9b0
New test case.
...
llvm-svn: 35515
2007-03-30 20:41:18 +00:00
Evan Cheng
5e161b7fb5
Test case for PR1279 (part 2).
...
llvm-svn: 35511
2007-03-30 20:15:22 +00:00
Chris Lattner
9dca6fc9d4
new testcases
...
llvm-svn: 35433
2007-03-28 18:11:17 +00:00
Chris Lattner
a22ce41d77
new testcase
...
llvm-svn: 35432
2007-03-28 18:03:14 +00:00
Reid Spencer
50ee6b8557
Remove use of implementation keyword.
...
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Evan Cheng
7fc3f900a2
Added a test case for PR1279.
...
llvm-svn: 35398
2007-03-28 01:32:57 +00:00
Chris Lattner
4b0523c35f
upgrade a random test
...
llvm-svn: 35395
2007-03-28 01:27:12 +00:00
Evan Cheng
ce2097be73
Test case for PR1266.
...
llvm-svn: 35367
2007-03-26 22:58:35 +00:00
Anton Korobeynikov
e1787d5f46
Add "feature" testcase for new switch lowering code
...
llvm-svn: 35345
2007-03-25 22:01:14 +00:00
Chris Lattner
99ba969ae3
new testcase
...
llvm-svn: 35331
2007-03-25 05:00:23 +00:00
Chris Lattner
a01030bcf4
test that the ppc backend can do 64-bit cntlz
...
llvm-svn: 35328
2007-03-25 04:43:51 +00:00
Chris Lattner
60fa65770f
new testcase
...
llvm-svn: 35326
2007-03-25 04:35:23 +00:00
Chris Lattner
6aa707f1b2
new testcase
...
llvm-svn: 35323
2007-03-25 02:17:58 +00:00
Chris Lattner
62598bf96c
new testcase
...
llvm-svn: 35317
2007-03-25 01:44:40 +00:00
Evan Cheng
9992bbc5a0
Another test case.
...
llvm-svn: 35255
2007-03-22 01:55:16 +00:00
Evan Cheng
1a651088b1
Test case for PR1257
...
llvm-svn: 35253
2007-03-22 01:52:57 +00:00
Evan Cheng
ecfd152e0d
New test case.
...
llvm-svn: 35240
2007-03-21 20:14:56 +00:00
Lauro Ramos Venancio
11d7d3fcaf
bugfix: When the source register of CALL_NOLINK was LR, the following code was emitted:
...
mov lr, pc
bx lr
So, the function was not called.
llvm-svn: 35218
2007-03-20 17:57:23 +00:00
Chris Lattner
10311baf63
These functions should use shll, not lea.
...
llvm-svn: 35203
2007-03-20 06:01:41 +00:00
Reid Spencer
c124adcc12
For PR1258:
...
Revise numeric value references to accommodate collapsed type planes.
llvm-svn: 35170
2007-03-19 18:27:35 +00:00
Evan Cheng
283468b827
GEP index sink test case.
...
llvm-svn: 35131
2007-03-17 03:18:32 +00:00
Devang Patel
f215bd701b
Test case for X86 inline asm constraint 'I'
...
llvm-svn: 35130
2007-03-17 00:14:52 +00:00
Bill Wendling
8ced23ee5a
And now support for MMX logical operations.
...
llvm-svn: 35125
2007-03-16 09:44:46 +00:00
Bill Wendling
feaff80149
Multiplication support for MMX.
...
llvm-svn: 35118
2007-03-15 21:24:36 +00:00
Evan Cheng
1464c63d5d
ARM isel should match ldr x +/- x * (2^n) to ldr [x, +/- x, lsl #log2(n)].
...
llvm-svn: 35114
2007-03-14 23:26:40 +00:00
Evan Cheng
0fe7224a46
New test.
...
llvm-svn: 35091
2007-03-13 23:31:47 +00:00
Evan Cheng
64f09e6241
This got better.
...
llvm-svn: 35090
2007-03-13 23:26:41 +00:00
Bill Wendling
236cfc4344
Adding more arithmetic operators to MMX. This is an almost exact copy of
...
the addition. Please let me know if you have suggestions.
llvm-svn: 35055
2007-03-10 09:57:05 +00:00
Evan Cheng
8685e7d770
Test inline asm modifier 'c'.
...
llvm-svn: 35036
2007-03-08 22:45:31 +00:00
Chris Lattner
cec3666863
upgrade this testcase, add test for fp immediate to memory operand.
...
llvm-svn: 35034
2007-03-08 22:33:06 +00:00
Bill Wendling
4fbc327c54
Add MMX arithmetic testcase.
...
llvm-svn: 35032
2007-03-08 22:14:51 +00:00
Evan Cheng
511c8f6a24
Fix test case.
...
llvm-svn: 35029
2007-03-08 19:27:32 +00:00
Evan Cheng
5196ecbf5c
New test case.
...
llvm-svn: 35006
2007-03-07 08:12:39 +00:00
Evan Cheng
7dccc59e5b
New test case.
...
llvm-svn: 34991
2007-03-07 00:13:48 +00:00
Bill Wendling
c52174dee3
Add the emms intrinsic for MMX support.
...
llvm-svn: 34938
2007-03-05 23:09:45 +00:00
Lauro Ramos Venancio
3f855f6a54
Use init_array/fini_array sections for static contructors/destructors when the ABI is AAPCS.
...
Fix SingleSource/Regression/C/ConstructorDestructorAttributes test on arm-linux-gnueabi.
llvm-svn: 34931
2007-03-05 17:59:58 +00:00
Chris Lattner
fc3b6903e3
new testcase, corresponds to:
...
long long test(long long A, unsigned B) {
return (A + ((long long)B << 32));
}
llvm-svn: 34911
2007-03-04 20:39:47 +00:00
Chris Lattner
e6d3ae4f2c
New testcase for PR1239
...
llvm-svn: 34892
2007-03-03 23:42:50 +00:00
Evan Cheng
ce6c3c3004
Add a new test case.
...
llvm-svn: 34842
2007-03-02 10:37:19 +00:00
Anton Korobeynikov
eaf27d276a
Ensure that fastcall'ed function is correctly mangled & stack is
...
properly aligned
llvm-svn: 34788
2007-03-01 16:29:22 +00:00
Chris Lattner
9d7106a01c
Eliminate enable-x86-fastcc
...
llvm-svn: 34753
2007-02-28 18:38:58 +00:00
Chris Lattner
1fa940fc5f
fastcc -> fastcall
...
llvm-svn: 34749
2007-02-28 18:35:36 +00:00
Chris Lattner
310a8f7f8f
fastcc -> fastcall
...
llvm-svn: 34747
2007-02-28 18:21:50 +00:00
Chris Lattner
07db51943e
fastcc -> fastcall
...
llvm-svn: 34746
2007-02-28 17:42:50 +00:00