1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
Commit Graph

1260 Commits

Author SHA1 Message Date
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
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
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
Evan Cheng
c741fd8106 New test case.
llvm-svn: 37174
2007-05-17 18:49:50 +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
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
Duncan Sands
f84f319401 Testcase for PR1398.
llvm-svn: 36905
2007-05-07 20:45:20 +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
faf5ed3a6b new testcase for PR1371
llvm-svn: 36786
2007-05-05 19:38:43 +00:00
Evan Cheng
3116234ebc negatize -> negative
llvm-svn: 36683
2007-05-03 18:20:17 +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
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
6556ee94c9 update for new inline asm syntax
llvm-svn: 36526
2007-04-28 05:20:26 +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
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
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
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
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
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
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
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
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
Chris Lattner
c65c4e9916 New testcase
llvm-svn: 35969
2007-04-13 20:28:08 +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
e827f7dfe6 new testcases for integer abs function
llvm-svn: 35880
2007-04-11 05:02:57 +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
b9f8792e26 testcase for PR1314
llvm-svn: 35778
2007-04-08 22:22:53 +00:00
Evan Cheng
89768803e7 Better still.
llvm-svn: 35663
2007-04-04 08:49:40 +00:00
Evan Cheng
3af3f8e696 These got better.
llvm-svn: 35661
2007-04-04 07:41:15 +00:00
Chris Lattner
3d0eeb2046 fix this testcase on ppc hosts
llvm-svn: 35603
2007-04-02 20:39:48 +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
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
Chris Lattner
8c48bc4ec0 add a testcase for x86
llvm-svn: 35516
2007-03-30 21:22:46 +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
Chris Lattner
99ba969ae3 new testcase
llvm-svn: 35331
2007-03-25 05:00:23 +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
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
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
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
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
Bill Wendling
c52174dee3 Add the emms intrinsic for MMX support.
llvm-svn: 34938
2007-03-05 23:09:45 +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
Chris Lattner
0a14efc457 new testcase
llvm-svn: 34622
2007-02-26 03:16:20 +00:00
Chris Lattner
5c1d3eff0a new testcase
llvm-svn: 34614
2007-02-25 23:08:29 +00:00
Chris Lattner
4d419b02ec new testcase
llvm-svn: 34612
2007-02-25 22:23:15 +00:00
Chris Lattner
200d389a17 verify that double is returned in XMM0 if the function is fastcc.
llvm-svn: 34591
2007-02-25 09:30:03 +00:00
Chris Lattner
b71ec8d1cf new testcase
llvm-svn: 34583
2007-02-25 08:23:01 +00:00
Chris Lattner
a38cc935a9 verify i128 return on x86-64 continues to codegen optimally.
llvm-svn: 34575
2007-02-25 06:06:49 +00:00
Evan Cheng
aa8e491a2f Added test case for PR1207.
llvm-svn: 34429
2007-02-19 21:53:59 +00:00
Dale Johannesen
960bd79f88 Fixes PR 1200
llvm-svn: 34359
2007-02-17 00:44:34 +00:00
Chris Lattner
e85be004b9 new testcase, by Dan Gohman
llvm-svn: 34255
2007-02-13 23:41:24 +00:00
Evan Cheng
4b13f9f031 i64 setcc tests.
llvm-svn: 34067
2007-02-08 22:27:55 +00:00
Reid Spencer
c7525207b8 Make the RUN: line readable.
llvm-svn: 33906
2007-02-05 10:09:41 +00:00
Reid Spencer
b33f883a96 For PR411:
Don't re-use var names.

llvm-svn: 33899
2007-02-05 04:00:04 +00:00
Chris Lattner
4223274f91 new testcase for x86 backend miscompilation
llvm-svn: 33883
2007-02-04 20:15:15 +00:00
Reid Spencer
591bfa1e0b Changes to support making the shift instructions be true BinaryOperators.
This feature is needed in order to support shifts of more than 255 bits
on large integer types.  This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
   shl i32 %X, 1
instead of
   shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.

llvm-svn: 33776
2007-02-02 02:16:23 +00:00
Reid Spencer
82293f34de For PR411:
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.

llvm-svn: 33660
2007-01-30 16:16:01 +00:00
Chris Lattner
1800f109f8 test that the 'ir' constraint works.
llvm-svn: 33646
2007-01-29 23:55:20 +00:00
Reid Spencer
6a31ec1259 For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.

For PR645:
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.

llvm-svn: 33533
2007-01-26 08:25:06 +00:00
Anton Korobeynikov
2509765bef * Fix one more bug in PIC codegen: extra load is needed for *all*
non-statics.
* Introduce new option to output zero-initialized data to .bss section.
This can reduce size of binaries. Enable it by default for ELF &
Cygwin/Mingw targets. Probably, Darwin should be also added.

llvm-svn: 33299
2007-01-17 10:33:08 +00:00
Reid Spencer
4572ce85b0 Regression is gone, don't try to find it on clean target.
llvm-svn: 33296
2007-01-17 07:59:14 +00:00