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
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
4a29c48b01
Use -f option so test is repeatable.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33589 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 21:10:35 +00:00
Reid Spencer
eb2073bf61
Add a test case for PR411.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33588 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 21:09:03 +00:00
Reid Spencer
0fb79b9374
Make this really do nothing.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33587 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-27 21:08:29 +00:00
Reid Spencer
e3ff5ada8a
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 08:25:06 +00:00
Reid Spencer
e5fe98cbb0
Global variables are not renamed by llvm-upgrade any more.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32925 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 18:37:18 +00:00
Reid Spencer
f6dc65f672
Update test cases that grepped for register names that have now changed
...
as a result of llvm-upgrade handling collapsed type planes better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32849 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-03 23:47:29 +00:00
Reid Spencer
7e6b4f7a6d
For PR1070:
...
Tweak the RUN: lines of these tests to accommodate the renaming of
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32815 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 05:55:05 +00:00
Reid Spencer
eacb7020ec
For PR950:
...
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:
1. Make sure llvm-upgrade is run on the source which does the bulk of the
changes automatically.
2. Change things like "grep 'int'" to "grep 'i32'"
3. In several tests bitcasting caused the same name to be reused in the
same type plane. These had to be manually fixed. The fix was (generally)
to leave the bitcast and provide the instruction with a new name. This
should not affect the semantics of the test. In a few cases, the
bitcasts were known to be superfluous and irrelevant to the test case
so they were removed.
4. One test case uses a bytecode file which needed to be updated to the
latest bytecode format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32789 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 06:02:00 +00:00
Reid Spencer
73e70822ae
Update tests that need to be run through llvm-upgrade. This is necessary
...
for upcoming changes to the llvm assembly grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:01:32 +00:00
Reid Spencer
db167271fd
Make sure linker output is overwritten so this test can pass multiple times.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32675 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 19:29:50 +00:00
Reid Spencer
f2315900fd
For PR950:
...
Upgrade this test in preparation for the SETCC patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32669 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 02:14:08 +00:00
Andrew Lenharth
c8782ad4ee
extern_weak link test
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32602 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-15 17:34:37 +00:00
Reid Spencer
ae8e54af9d
These files need llvm-upgrade.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32136 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 20:40:30 +00:00
Reid Spencer
e5d4efa63e
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
...
older features will be dropped soon and these test cases must not rely
on the upgrade capability.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-23 15:14:52 +00:00
Chris Lattner
76591ca1eb
New testcase, the linker is not merging alignments right.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28811 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-16 01:20:58 +00:00
Tanya Lattner
9727555859
Added the ability to xfail based on llvmgcc version
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Reid Spencer
2676f83776
Tired of wading through cvs's list ? files that are generated when building
...
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +00:00
Reid Spencer
f20bf3e629
Add a test case for PR697, ensuring the linker works with ConstantPacked.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25475 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-20 01:31:58 +00:00
Chris Lattner
89644753a6
new testcase for PR662
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24618 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-06 17:29:54 +00:00
Chris Lattner
5b7dcaa96b
New test, adjust other test.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20134 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:19:36 +00:00
Chris Lattner
23cf18003d
Reinstate this test, it is correct after all.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20133 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-12 19:14:11 +00:00
Chris Lattner
81efd8c026
Actually, this testcase is invalid, the bug is in the C++ FE.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20123 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:18:40 +00:00
Chris Lattner
94ca3fe5ea
New testcase that manyoso found compiling QT 4.0.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20122 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-11 23:08:34 +00:00
Chris Lattner
bbdfaf8ec7
Check in an old test that never made it into CVS
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19250 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-02 02:46:29 +00:00
Chris Lattner
f0db7a98ae
Do not multiply define symbol
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18461 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-03 19:48:10 +00:00
Tanya Lattner
c8c1f12778
Adding srcdir arg
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Tanya Lattner
28b372f1d3
Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:00:45 +00:00
Chris Lattner
5e4f2991a0
Another testcase for constness linkage
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16691 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-05 02:16:01 +00:00
Chris Lattner
b2bf71334e
Testcase to ensure that the 'constant' flag follows the definition when there
...
is a question.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16690 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-05 02:12:20 +00:00
Chris Lattner
413c76f3bc
Correct test. use "not grep" instead of "grep -v"
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13824 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 07:32:25 +00:00
John Criswell
3a386d4929
Regression test for PR#330.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13399 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-07 13:57:19 +00:00
Chris Lattner
bf6fd9d832
New testcase for PR245
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11566 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-17 21:58:29 +00:00
Chris Lattner
2cbb7543b2
New testcase for PR 130
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10076 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-19 01:03:16 +00:00
Chris Lattner
27684c8f01
Fix initializers to match
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9529 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 16:30:29 +00:00
Chris Lattner
31687702ab
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9528 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-27 16:18:28 +00:00
Chris Lattner
3d6a08d131
New testcase. The linker should not consider it an error if two types
...
disagree. It should grumble, then go ahead and do it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9356 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21 22:46:22 +00:00
John Criswell
26c7d8b7e0
Updated these tests so that they use the new temporary directory as opposed
...
to the old Output directory for temporary files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8728 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-26 20:20:44 +00:00
John Criswell
473741930e
Removing Makefiles. Regression tests are now run by QMTest.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8548 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:21:38 +00:00
Misha Brukman
b6cb66f1c3
Renamed as' =>
llvm-as', dis' =>
llvm-dis', link' =>
llvm-link'.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8545 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15 20:04:28 +00:00
John Criswell
e3e7c474f2
Checkin of autoconf-style object root.
...
Updated TestRunner tests so that they work correctly in a separate object root
directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8383 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 15:15:04 +00:00
Chris Lattner
205f9fce19
Yet ANOTHER complication that the libstdc++ library runs into linking...
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8207 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-29 05:29:38 +00:00
Chris Lattner
38e3fd3475
Ok, the last bug fix was not good enough to fix libstdc++. Maybe this one will be
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8203 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-29 04:54:23 +00:00
Chris Lattner
0c49b89298
New testcase which is preventing the linking of libstdc++
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8201 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-29 04:40:34 +00:00
Brian Gaeke
4dee6d781e
Fix spelling error in comment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8143 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-25 17:29:40 +00:00
Chris Lattner
f687adae9b
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8128 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-24 19:23:31 +00:00
Chris Lattner
8d8523b27a
New testcase, which causes the linker to segv.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8082 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 21:13:26 +00:00
Chris Lattner
6f2ff7ecd5
Test functions as well as globals
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 20:30:29 +00:00
Chris Lattner
2fa6c35d69
New testcase, which is basically the problem with 176.gcc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8068 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-23 15:53:38 +00:00
Chris Lattner
a925b47300
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7987 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-20 19:22:28 +00:00
Chris Lattner
060c1f816c
Remove usage of grep-not script
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:32:04 +00:00
Chris Lattner
50e8682f28
Remove explicit control flow through the use of the 'not' script
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6965 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:23:34 +00:00
Chris Lattner
1bafd29e0e
Second testcase identified by Joel
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6543 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 17:31:24 +00:00
Chris Lattner
5e1803548d
New testcase identified by Joel
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6541 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 17:07:42 +00:00
Chris Lattner
8a143e8810
New testcase for behavior we depend on.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6483 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 21:14:45 +00:00
Chris Lattner
f5838397cb
New linker problem from twolf benchmark
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6224 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 16:01:32 +00:00
Chris Lattner
c49b27a7df
Add uses of the appending variable
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6177 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 21:32:48 +00:00
Chris Lattner
d450a0a4f1
Add new testcase for appending linkage
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6176 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:48:17 +00:00
Chris Lattner
c43a4a4f84
New test for appending linkage
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6175 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:31:46 +00:00
Chris Lattner
ac0ec635e6
New testcase distilled from a problem identified by sumant
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5964 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 20:29:09 +00:00
Chris Lattner
961b05852e
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5878 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-23 18:38:24 +00:00
Chris Lattner
e709a21d66
Tweak testcases to use linkonce as appropriate
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5877 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-23 18:38:13 +00:00
Chris Lattner
8869c2cb6a
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5826 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-21 21:06:25 +00:00
Chris Lattner
25219a76fe
Add tests for linker and linkonce globals
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5791 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 21:21:35 +00:00
Chris Lattner
233bfb2696
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5440 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-30 20:03:15 +00:00
Chris Lattner
2ff400463f
NEw testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5438 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-30 19:28:01 +00:00
Chris Lattner
10806b66d6
Fix broken testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5416 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-23 19:52:48 +00:00
Chris Lattner
ac2cbb847d
Covnert testcases to not use indexed loads/stores
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3458 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 16:39:05 +00:00
Chris Lattner
e7e5918755
Fix testcase to not use indexing in non-gep instructions
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3439 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 23:52:57 +00:00
Chris Lattner
f2b6b0288b
Cleanup testsuite
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3411 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:34:51 +00:00
Chris Lattner
fce9d7002d
Clean up testcases to make them proper
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3410 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:32:17 +00:00
Chris Lattner
730507cb5c
New testcase for constexpr problem.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3409 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:29:20 +00:00
Chris Lattner
29ef1f51eb
Provide a way to actually run tests
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3408 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-20 19:29:08 +00:00
Chris Lattner
f406d28693
TEstcases for old bugs
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3024 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-23 18:26:48 +00:00
Chris Lattner
f493a569c3
Update LLVM tests to use new pointer indexing, and remove unsized array test support
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1474 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-14 16:46:53 +00:00
Chris Lattner
b4b07c788d
Add testcases for internal
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1388 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-26 19:17:06 +00:00
Chris Lattner
230e5efe63
Add some more interesting test cases for the linker
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@816 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-15 03:11:58 +00:00
Chris Lattner
784c52f614
More interesting testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@809 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-14 23:28:56 +00:00
Chris Lattner
285c68d66d
Test files for linker
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@783 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:15:38 +00:00