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

3203 Commits

Author SHA1 Message Date
John Criswell
8ea85d2f50 Remove DSA tests.
llvm-svn: 32543
2006-12-13 17:02:04 +00:00
Chris Lattner
e38c05e812 New testcase for PR1047
llvm-svn: 32528
2006-12-13 04:30:18 +00:00
Rafael Espindola
7c4245c4e3 more general matching of the MVN instruction
llvm-svn: 32484
2006-12-12 17:10:13 +00:00
Rafael Espindola
a65fd68f23 don't use "ordinary" addressing mode 1 when mvn is appropriate
llvm-svn: 32482
2006-12-12 14:03:29 +00:00
Chris Lattner
6b7c163064 new testcase for pr1045
llvm-svn: 32467
2006-12-12 04:24:17 +00:00
Chris Lattner
3ad109dafb This should check for darwin literal sections as well.
llvm-svn: 32464
2006-12-12 03:59:46 +00:00
Rafael Espindola
d29cb12dfc use MVN to handle small negative constants
llvm-svn: 32459
2006-12-12 01:03:11 +00:00
Reid Spencer
496ce1c8c7 Don't bother upgrading this.
llvm-svn: 32458
2006-12-12 00:53:31 +00:00
Rafael Espindola
b8163fd828 add mvn
llvm-svn: 32454
2006-12-12 00:37:38 +00:00
Reid Spencer
ae700cd02a Test case for ensuring correct reading back of cast constant expressions.
llvm-svn: 32449
2006-12-11 23:19:53 +00:00
Reid Spencer
3991c4af05 Add a test for constant folding of bitcast to/from floating point.
llvm-svn: 32446
2006-12-11 21:25:10 +00:00
Reid Spencer
6567a0ac08 Provide a test for int<->float and long<->double bitcasts.
llvm-svn: 32445
2006-12-11 20:40:28 +00:00
Chris Lattner
e1ea74ac70 constant folding of bitcast is broken.
llvm-svn: 32437
2006-12-11 18:29:07 +00:00
Chris Lattner
fe54dfef65 the xform is done by scalarrepl not the code generator.
llvm-svn: 32425
2006-12-11 01:03:32 +00:00
Chris Lattner
15956c6316 new testcase
llvm-svn: 32421
2006-12-11 00:34:27 +00:00
Chris Lattner
04231146c0 testcase for a regression introduced by the recent cast patch
llvm-svn: 32419
2006-12-11 00:12:07 +00:00
Chris Lattner
a1bb8bb3cc new testcase
llvm-svn: 32417
2006-12-10 23:52:28 +00:00
Rafael Espindola
9fe91fc84f .align is in bits
.comm is in bytes
:-(

llvm-svn: 32408
2006-12-10 02:53:14 +00:00
Rafael Espindola
8251abb0e9 fix test/Regression/CodeGen/X86/weak.ll
if a variable has no initialization, I->getInitializer() will fail

llvm-svn: 32407
2006-12-09 23:14:08 +00:00
Rafael Espindola
48db31af76 use a . instead of a % in the grep expression
llvm-svn: 32406
2006-12-09 21:21:06 +00:00
Reid Spencer
ab212d0054 Fix the run line and make this test more specific.
llvm-svn: 32403
2006-12-09 19:39:56 +00:00
Reid Spencer
363947c376 Add a check to catch an incorrect upgrade.
llvm-svn: 32402
2006-12-09 19:35:43 +00:00
Reid Spencer
54036d73ce Too soon to commit, revert.
llvm-svn: 32397
2006-12-09 05:13:50 +00:00
Reid Spencer
4d24c45baa New test cases for regressions in the SetCC -> ICmp patch.
llvm-svn: 32396
2006-12-09 05:13:01 +00:00
Rafael Espindola
620b3430c8 %progbits not @progbits
llvm-svn: 32376
2006-12-08 22:06:02 +00:00
Rafael Espindola
62ac17dbaa add missing &&
llvm-svn: 32374
2006-12-08 21:43:02 +00:00
Rafael Espindola
7e99603152 add \"aw\",@progbits" to ctors and dtors
llvm-svn: 32373
2006-12-08 21:24:58 +00:00
Andrew Lenharth
53c676f8db test packed struct codegen on x86
llvm-svn: 32367
2006-12-08 18:54:15 +00:00
Andrew Lenharth
341c77a124 packed initializers too in the test
llvm-svn: 32365
2006-12-08 18:45:38 +00:00
Andrew Lenharth
768021fcb9 feature test for packed structs
llvm-svn: 32363
2006-12-08 18:36:24 +00:00
Reid Spencer
f814074520 This test needs to be upgraded.
llvm-svn: 32359
2006-12-08 17:39:49 +00:00
Reid Spencer
67bafa2287 For PR950:
Add a test for a regression in combining of ICmp instructions.

llvm-svn: 32358
2006-12-08 17:38:55 +00:00
Rafael Espindola
bb753d7121 fix alignment
llvm-svn: 32337
2006-12-07 22:38:06 +00:00
Chris Lattner
40f809e2ae new testcase
llvm-svn: 32335
2006-12-07 22:36:14 +00:00
Chris Lattner
6e210d9ef0 new testcase
llvm-svn: 32330
2006-12-07 22:15:20 +00:00
Rafael Espindola
a908b2dfd9 make sure that we don't use a common symbol if a section was specified
llvm-svn: 32310
2006-12-07 18:33:58 +00:00
Andrew Lenharth
3861ca7609 Copy ARM's weak symbol test
llvm-svn: 32307
2006-12-07 17:37:54 +00:00
Reid Spencer
2b36461d7e This now passes on Linux/x86
llvm-svn: 32306
2006-12-07 16:28:32 +00:00
Reid Spencer
9fd2e2d12b Manually convert this to new assembly.
llvm-svn: 32301
2006-12-07 04:20:23 +00:00
Jim Laskey
1eef2857fd Failing linux.
llvm-svn: 32292
2006-12-06 21:36:07 +00:00
Rafael Espindola
7ad537568f print weak references
llvm-svn: 32276
2006-12-06 13:35:10 +00:00
Chris Lattner
3379d67d56 this is a subset of Codegen/X86/bitcast.ll, remove it.
llvm-svn: 32248
2006-12-06 00:46:14 +00:00
Chris Lattner
4d21615eb9 Instcombine shouldn't fold these casts.
llvm-svn: 32243
2006-12-05 23:43:20 +00:00
Chris Lattner
c90c14424c new testcase
llvm-svn: 32227
2006-12-05 18:21:52 +00:00
Rafael Espindola
5e8a6ca4c0 expand memmove and memcpy
llvm-svn: 32226
2006-12-05 17:57:23 +00:00
Rafael Espindola
38062acebb add support for the "r" asm constraint
patch by Lauro Ramos Venancio

llvm-svn: 32224
2006-12-05 17:37:31 +00:00
Rafael Espindola
da1fffc4e1 add support for weak linkage
llvm-svn: 32222
2006-12-05 17:00:17 +00:00
Reid Spencer
ee4fd18228 Ignore the Output directory.
llvm-svn: 32221
2006-12-05 16:10:16 +00:00
Chris Lattner
6da381c3d5 new testcase
llvm-svn: 32210
2006-12-05 01:29:01 +00:00
Devang Patel
ae17721f63 SCCP does not handle Packed Type properly. Disable Packed Type handling
for now.

llvm-svn: 32208
2006-12-04 23:54:59 +00:00
Chris Lattner
334c6b0aa3 Testcase for PR1029, patch by Rafael vila de Espíndola
llvm-svn: 32205
2006-12-04 22:37:48 +00:00
Reid Spencer
c8833bfcb7 These pass on Linux now.
llvm-svn: 32195
2006-12-04 20:46:05 +00:00
Reid Spencer
53259bbd2e Fix the intrinsic debug call to make this match current definition.
llvm-svn: 32190
2006-12-04 20:13:49 +00:00
Reid Spencer
b629d3d17f Make this test succeed on both Darwin and Linux
llvm-svn: 32189
2006-12-04 20:09:02 +00:00
Reid Spencer
92dfdf4e52 XFAIL until PR1033 is fixed.
llvm-svn: 32187
2006-12-04 18:39:14 +00:00
Reid Spencer
f291841793 Test case for PR1033, x86-64 code gen fails on bitcast.
llvm-svn: 32185
2006-12-04 18:24:56 +00:00
Evan Cheng
bc0c02e746 Fix test.
llvm-svn: 32183
2006-12-04 18:06:24 +00:00
Jim Laskey
c489d15841 Purpose of test is lost in upgrade.
llvm-svn: 32182
2006-12-04 17:54:29 +00:00
Jim Laskey
1e07d1a63e Remove debug info.
llvm-svn: 32181
2006-12-04 17:06:15 +00:00
Jim Laskey
6ba00a0883 Fixed to use current debug info.
llvm-svn: 32177
2006-12-04 12:23:17 +00:00
Jim Laskey
bce06e9467 Moving to DebugInfo.
llvm-svn: 32176
2006-12-04 12:21:23 +00:00
Jim Laskey
f01802a9bc Duplicate of Regression/Debugger/funccall.ll.
llvm-svn: 32175
2006-12-04 10:50:32 +00:00
Reid Spencer
84850d5a86 Use weak_import on linux, weak everywhere else. Makes test pass on Linux.
Checking for __APPLE_CC__ is useless as this just checks to see if the
compiler is llvm-gcc, which we know it is.

llvm-svn: 32158
2006-12-03 16:40:08 +00:00
Reid Spencer
a9c9b7171e These tests need llvm-upgrade. This fixes last night's nightly test fallout.
llvm-svn: 32154
2006-12-03 16:17:19 +00:00
Reid Spencer
70c4b50c14 Upgrade to version 7 bytecode format.
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
035ac3b7e4 Make sure this file gets upgraded with llvm-upgrade
llvm-svn: 32138
2006-12-02 20:42:32 +00:00
Reid Spencer
18fdc5e273 Upgrade intrinsic function calls manually.
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
36bc766768 These files need llvm-upgrade.
llvm-svn: 32136
2006-12-02 20:40:30 +00:00
Reid Spencer
1dad92a1ba Rearrange code so that llvm-upgrade doesn't break the optimization this
test is trying to verify.

llvm-svn: 32135
2006-12-02 20:39:25 +00:00
Reid Spencer
d52ae0adda Upgrade intrinsic function calls
llvm-svn: 32134
2006-12-02 20:38:37 +00:00
Reid Spencer
b046cf56c5 Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
llvm-svn: 32133
2006-12-02 20:38:10 +00:00
Reid Spencer
f7824ed6bc Remove tests for checking bytecode upgrade. Bytecode upgrade is being
replaced in 2.0 with assembly upgrade via the llvm-upgrade tool.

llvm-svn: 32132
2006-12-02 20:35:50 +00:00
Reid Spencer
3c8acbc6bf Upgrade old intrinsic function calls manually.
llvm-svn: 32131
2006-12-02 20:34:57 +00:00
Reid Spencer
581280f4ca Use llvm-upgrade these tests as they all use old assembly.
llvm-svn: 32130
2006-12-02 20:34:08 +00:00
Reid Spencer
8cf118be24 Remove old intrinsic declarations and usage.
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
dc5ddb45f6 Remove a redundant RUN: line.
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
7e29e5b205 Prevent a GEP from getting upgraded to avoid resulting test failure.
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
6233e120de Update this test to use llvm-update.
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
7f5ef2d7a5 Use the llvm-upgrade program to upgrade llvm assembly.
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Chris Lattner
906e9c8346 new testcase
llvm-svn: 32111
2006-12-02 00:12:32 +00:00
Chris Lattner
14c6518757 fix incorrectly translated testcase
llvm-svn: 32093
2006-12-01 21:38:02 +00:00
Chris Lattner
f6a48f7ea5 test1 is miscompiled
llvm-svn: 32086
2006-12-01 19:50:04 +00:00
Jim Laskey
55ad52f156 wrong spot
llvm-svn: 32084
2006-12-01 19:39:32 +00:00
Jim Laskey
94dcc7c744 Test for float varargs.
llvm-svn: 32083
2006-12-01 19:29:20 +00:00
Chris Lattner
badf74d91d new 'cast' miscompilation, reduced from perlbmk by Evan
llvm-svn: 32079
2006-12-01 19:02:56 +00:00
Chris Lattner
60a07bf5ff enable this now that codegen support is in place
llvm-svn: 32076
2006-12-01 18:04:08 +00:00
Evan Cheng
a90e1d7a55 This test is meant for X86 CPU which does not support SSE2.
llvm-svn: 32072
2006-12-01 10:17:36 +00:00
Evan Cheng
cd3a9750d7 Add a extern weak test case.
llvm-svn: 32070
2006-12-01 09:18:20 +00:00
Chris Lattner
89fb887b8b new testcase to verify external weak continues to work
llvm-svn: 32064
2006-12-01 07:14:26 +00:00
Chris Lattner
43412fff16 new testcase for PR1027
llvm-svn: 32063
2006-12-01 06:34:56 +00:00
Chris Lattner
6be189eb1a new testcase
llvm-svn: 32061
2006-12-01 05:54:48 +00:00
Reid Spencer
2cf24d8d84 The InstCombine hack has been removed, no need to XFAIL this any more.
llvm-svn: 32058
2006-12-01 01:50:45 +00:00
Evan Cheng
1704069dd3 Add X86-64 load / store codegen tests.
llvm-svn: 32047
2006-11-30 22:07:00 +00:00
Jim Laskey
662a7c96eb Add compile unit size test
llvm-svn: 32040
2006-11-30 15:36:44 +00:00
Jim Laskey
733a864c97 Correct comment
llvm-svn: 32039
2006-11-30 15:31:49 +00:00
Jim Laskey
ae62bc1bb9 Pubnames test
llvm-svn: 32038
2006-11-30 15:25:59 +00:00
Evan Cheng
296ed401de New LSR test case.
llvm-svn: 32029
2006-11-29 23:48:37 +00:00
Chris Lattner
8fb93fdef7 new testcase
llvm-svn: 32023
2006-11-29 19:57:55 +00:00
Evan Cheng
d8429bd99f Add x86-64 llvm.readcyclecounter test.
llvm-svn: 32018
2006-11-29 08:29:59 +00:00
Evan Cheng
cf9ff23184 Fix test.
llvm-svn: 32015
2006-11-29 08:22:59 +00:00