3167 Commits

Author SHA1 Message Date
Reid Spencer
503ae10c88 Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
match.

llvm-svn: 32647
2006-12-18 01:11:46 +00:00
Chris Lattner
292b75066d testcase for pr1049
llvm-svn: 32632
2006-12-16 21:12:49 +00:00
Chris Lattner
02aeb50571 Fix one more broken testcase
llvm-svn: 32631
2006-12-16 20:27:43 +00:00
Chris Lattner
be9b063230 Fix borken testcase
llvm-svn: 32627
2006-12-16 02:30:24 +00:00
Chris Lattner
8ef8f5d01c fix buggy testcase
llvm-svn: 32626
2006-12-16 02:29:22 +00:00
Chris Lattner
47233817d3 testcases for PR1042
llvm-svn: 32625
2006-12-16 02:26:57 +00:00
Andrew Lenharth
1898131d04 extern_weak link test
llvm-svn: 32602
2006-12-15 17:34:37 +00:00
Chris Lattner
f1da201b2b reenable these
llvm-svn: 32596
2006-12-15 07:32:49 +00:00
Chris Lattner
bbdbfeeb31 New testcase for llvm-gcc bugfix
llvm-svn: 32594
2006-12-15 06:49:20 +00:00
Rafael Espindola
d19ea53887 avoid using a constant table when a constant can be used inline
llvm-svn: 32580
2006-12-14 18:58:37 +00:00
Rafael Espindola
0d92ae76fb Avoid creating invalid sub/add instructions on the prolog/epilog
patch by Lauro

llvm-svn: 32577
2006-12-14 13:31:27 +00:00
John Criswell
385a8f534d Remove DSA tests.
llvm-svn: 32549
2006-12-13 19:39:27 +00:00
John Criswell
c349ec7d46 Remove DSA tests.
llvm-svn: 32547
2006-12-13 18:05:30 +00:00
Chris Lattner
5e58478f97 xfail these until I recommit the scalarrepl patch
llvm-svn: 32545
2006-12-13 17:42:40 +00:00
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