Commit Graph

3391 Commits

Author SHA1 Message Date
Reid Spencer
1bb52e00ac Eliminate the use of gccas in the test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34088 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-09 15:15:21 +00:00
Chris Lattner
511e1d1456 Add ppc-specific test for better i64 compare codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34082 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-09 04:49:46 +00:00
Evan Cheng
1cbd333618 i64 setcc tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34067 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 22:27:55 +00:00
Reid Spencer
a3cf7e7a95 New test cases for PR1187
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34052 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 09:10:22 +00:00
Reid Spencer
9d4e2d0a2e Make this legal input.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34051 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 09:09:36 +00:00
Reid Spencer
c6a8ca1556 Add some more interesting cases to this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34042 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 08:03:46 +00:00
Reid Spencer
c61a8a0a26 For PR1187:
Add some interesting CSRETCC upgrade cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34041 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 06:45:02 +00:00
Chris Lattner
f596a97287 New testcase for PR947
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34038 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 04:34:03 +00:00
Chris Lattner
d0813e47c2 llvm-gcc3 is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34037 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-08 04:31:15 +00:00
Reid Spencer
c52cf19edc For PR1187:
Add a test to ensure that i1, i8, i16, i32 and i64 are recognized by the
lexer and vars using them will be renamed appropriately.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34019 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 23:45:51 +00:00
Reid Spencer
2aa745e709 For PR1187:
Add a test case to test rename of internal linkage functions with the same
name, without an error or warning.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34018 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 23:41:10 +00:00
Chris Lattner
12f0c7b9cf new testcase for nested functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34017 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 23:28:08 +00:00
Andrew Lenharth
7914f46db1 This really only affects pointers in high memory, and only llvm 1.9, but make a regression for it anyway
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 22:23:47 +00:00
Chris Lattner
566dd149ae Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34004 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 19:28:52 +00:00
Evan Cheng
02f178fb88 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-07 09:24:03 +00:00
Evan Cheng
a17588c3c2 Add a DYNAMIC_STACKALLOC test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33959 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-06 07:18:27 +00:00
Chris Lattner
ba1469278e testcase for pr1181
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-06 06:07:34 +00:00
Chris Lattner
37d94b42a7 Testcase for miscompilation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33947 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-06 02:22:37 +00:00
Reid Spencer
94b836a0dc For PR411:
This test is not particularly useful without type planes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33919 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 20:59:45 +00:00
Reid Spencer
ef9b9a7939 For PR411:
This patch replaces the SymbolTable class with ValueSymbolTable which does
not support types planes. This means that all symbol names in LLVM must now
be unique. The patch addresses the necessary changes to deal with this and
removes code no longer needed as a result. This completes the bulk of the
changes for this PR. Some cleanup patches will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 20:47:22 +00:00
Devang Patel
c8c6928781 Test case for PR1158
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33914 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 19:33:20 +00:00
Lauro Ramos Venancio
ea62b721ea Fix unord test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33910 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 16:33:56 +00:00
Reid Spencer
d2e065c61a Assembler no longer prints ! at the end of its error messages.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33908 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 10:17:51 +00:00
Reid Spencer
9a01353e73 Make the RUN: line readable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33906 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 10:09:41 +00:00
Reid Spencer
1853da3f22 For PR411:
Don't re-use var names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33899 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 04:00:04 +00:00
Chris Lattner
1125d241e0 new testcase for 1174, currently xfailed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33898 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 03:56:59 +00:00
Anton Korobeynikov
8227d886b8 Test for PR1173
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33895 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:28:56 +00:00
Chris Lattner
06b59eb161 fix bug number
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33894 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:26:07 +00:00
Chris Lattner
464c19e654 test for pr1173
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33893 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-05 02:19:09 +00:00
Chris Lattner
3ac8f5b042 testcase for PR1175
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33891 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-04 23:55:04 +00:00
Chris Lattner
2b5d75c35b new testcase for x86 backend miscompilation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33883 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-04 20:15:15 +00:00
Reid Spencer
73a7d89468 Prepare for PR411
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33865 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-04 02:11:13 +00:00
Reid Spencer
7ba98a9000 For PR1072:
Removing -raise has neglible positive or negative side effects so we are
opting to remove it. See the PR for comparison details.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33844 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 23:15:56 +00:00
Evan Cheng
f987c77bd4 Add a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33833 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 09:14:10 +00:00
Evan Cheng
865c6698db __builtin_isunordered test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33808 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 00:50:45 +00:00
Lauro Ramos Venancio
4532cc31b9 Improves alloca test. Verifies SP restoration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33802 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-03 00:16:21 +00:00
Reid Spencer
832254e1c2 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33776 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-02 02:16:23 +00:00
Chris Lattner
5c70a012c7 new testcase for serious code pessimization
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33770 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 22:29:26 +00:00
Reid Spencer
eb58a4826e My mistake, my environment wasn't up to date. This passes now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33769 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 22:26:42 +00:00
Reid Spencer
fa99eca959 XFAIL this on x86 linux as it continues to fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33768 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 22:10:46 +00:00
Reid Spencer
3ca56169e7 Make sure the value passed to test function is initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33764 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 21:58:46 +00:00
Evan Cheng
ac94c58319 Add a test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33742 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 02:27:24 +00:00
Evan Cheng
f97e5420cb Added a thumb vararg test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33740 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 01:56:43 +00:00
Chris Lattner
36a724341c new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33731 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-01 00:38:56 +00:00
Evan Cheng
894432c505 Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33730 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 23:51:35 +00:00
Evan Cheng
100c210523 Fix test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33725 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 22:27:07 +00:00
Lauro Ramos Venancio
b5b84f92bf ARM fix: Miscompilation when frame pointer can't be eliminated. Uninitialized frame pointer register is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33703 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-31 13:12:46 +00:00
Evan Cheng
f08c0eab15 Combine two tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33668 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 23:06:22 +00:00
Reid Spencer
908504347b 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33660 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 16:16:01 +00:00
Reid Spencer
82d5ee5653 Add a gxxcmd variable for the g++ command line used to build llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33659 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-30 16:06:55 +00:00