Commit Graph

3158 Commits

Author SHA1 Message Date
Rafael Espindola
8897a7b02e avoid using a constant table when a constant can be used inline
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32580 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-14 18:58:37 +00:00
Rafael Espindola
15f17a7c47 Avoid creating invalid sub/add instructions on the prolog/epilog
patch by Lauro


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32577 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-14 13:31:27 +00:00
John Criswell
6422564333 Remove DSA tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32549 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 19:39:27 +00:00
John Criswell
308fce15ec Remove DSA tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32547 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 18:05:30 +00:00
Chris Lattner
18c3e6524d xfail these until I recommit the scalarrepl patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32545 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 17:42:40 +00:00
John Criswell
3ce85d5f8e Remove DSA tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32543 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 17:02:04 +00:00
Chris Lattner
32c081ae5f New testcase for PR1047
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32528 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 04:30:18 +00:00
Rafael Espindola
a898ce687a more general matching of the MVN instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32484 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 17:10:13 +00:00
Rafael Espindola
2426775c81 don't use "ordinary" addressing mode 1 when mvn is appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32482 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 14:03:29 +00:00
Chris Lattner
bcb56d8104 new testcase for pr1045
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32467 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 04:24:17 +00:00
Chris Lattner
d7626a82e6 This should check for darwin literal sections as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32464 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 03:59:46 +00:00
Rafael Espindola
f64945d83c use MVN to handle small negative constants
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32459 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 01:03:11 +00:00
Reid Spencer
12375467b2 Don't bother upgrading this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32458 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 00:53:31 +00:00
Rafael Espindola
450856d01b add mvn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32454 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 00:37:38 +00:00
Reid Spencer
1565491af2 Test case for ensuring correct reading back of cast constant expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 23:19:53 +00:00
Reid Spencer
6a126513fc Add a test for constant folding of bitcast to/from floating point.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 21:25:10 +00:00
Reid Spencer
711679e21c Provide a test for int<->float and long<->double bitcasts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32445 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 20:40:28 +00:00
Chris Lattner
4ed4ac34c3 constant folding of bitcast is broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32437 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 18:29:07 +00:00
Chris Lattner
d36a76d655 the xform is done by scalarrepl not the code generator.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32425 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 01:03:32 +00:00
Chris Lattner
e629ff0be8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32421 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 00:34:27 +00:00
Chris Lattner
5bd2db38f8 testcase for a regression introduced by the recent cast patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32419 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 00:12:07 +00:00
Chris Lattner
1846783d93 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32417 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-10 23:52:28 +00:00
Rafael Espindola
796cbd87b4 .align is in bits
.comm is in bytes
:-(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32408 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-10 02:53:14 +00:00
Rafael Espindola
3e69a7e527 fix test/Regression/CodeGen/X86/weak.ll
if a variable has no initialization, I->getInitializer() will fail


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32407 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 23:14:08 +00:00
Rafael Espindola
5b24426375 use a . instead of a % in the grep expression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32406 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 21:21:06 +00:00
Reid Spencer
ed819df5ef Fix the run line and make this test more specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32403 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 19:39:56 +00:00
Reid Spencer
c96660aef7 Add a check to catch an incorrect upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32402 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 19:35:43 +00:00
Reid Spencer
ee2c7b08c5 Too soon to commit, revert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32397 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 05:13:50 +00:00
Reid Spencer
30e6c63486 New test cases for regressions in the SetCC -> ICmp patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32396 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 05:13:01 +00:00
Rafael Espindola
0ec729ef2d %progbits not @progbits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32376 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 22:06:02 +00:00
Rafael Espindola
33dec797c3 add missing &&
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32374 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 21:43:02 +00:00
Rafael Espindola
1366626e08 add \"aw\",@progbits" to ctors and dtors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32373 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 21:24:58 +00:00
Andrew Lenharth
6b6b6f6ab8 test packed struct codegen on x86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32367 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:54:15 +00:00
Andrew Lenharth
6ec10ef00c packed initializers too in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32365 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:45:38 +00:00
Andrew Lenharth
6e7be8345b feature test for packed structs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32363 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 18:36:24 +00:00
Reid Spencer
f6a3f00055 This test needs to be upgraded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32359 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:39:49 +00:00
Reid Spencer
f6825c5ddc For PR950:
Add a test for a regression in combining of ICmp instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32358 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:38:55 +00:00
Rafael Espindola
1c411dee4f fix alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32337 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 22:38:06 +00:00
Chris Lattner
d4fca27e59 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32335 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 22:36:14 +00:00
Chris Lattner
afa2159a54 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32330 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 22:15:20 +00:00
Rafael Espindola
7367d05cb7 make sure that we don't use a common symbol if a section was specified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32310 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 18:33:58 +00:00
Andrew Lenharth
b56f1e2ee5 Copy ARM's weak symbol test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32307 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 17:37:54 +00:00
Reid Spencer
2c7df60b48 This now passes on Linux/x86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32306 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 16:28:32 +00:00
Reid Spencer
d422db8547 Manually convert this to new assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32301 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 04:20:23 +00:00
Jim Laskey
9f5776bb4d Failing linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32292 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-06 21:36:07 +00:00
Rafael Espindola
392b1b2ef3 print weak references
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32276 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-06 13:35:10 +00:00
Chris Lattner
6bfc69c831 this is a subset of Codegen/X86/bitcast.ll, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32248 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-06 00:46:14 +00:00
Chris Lattner
9faab9bd93 Instcombine shouldn't fold these casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32243 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 23:43:20 +00:00
Chris Lattner
ade2f54d2b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32227 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 18:21:52 +00:00
Rafael Espindola
97815c6b9c expand memmove and memcpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32226 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 17:57:23 +00:00