Commit Graph

1040 Commits

Author SHA1 Message Date
Chris Lattner
1d1b0e56ce Fix link problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6705 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 12:23:27 +00:00
Chris Lattner
f27aca9276 New testcases for bugs and the new DAE pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6693 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 12:05:38 +00:00
Chris Lattner
14d7f5dfdd Fix testcase to work with store forwarding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6689 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 11:59:34 +00:00
John Criswell
01e6d2a4c7 Updated to use the new Makefile.common.
Replaced the hard-coded compiler variable with the one defined by
Makefile.config.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-11 13:56:55 +00:00
Chris Lattner
2a5d16dd74 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6668 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-07 21:43:56 +00:00
Misha Brukman
62d95e8227 Return 'int 0' instead of 'void' so that the test can be seen as successful.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6654 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 08:00:40 +00:00
Misha Brukman
a5e7f35daa Return 'int 0' instead of void so that the test can be considered to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6653 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 07:58:29 +00:00
Misha Brukman
c068bbcc5a Simplify test case: remove declaration of __main() and call to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6648 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-06 06:50:43 +00:00
Chris Lattner
d8c1d7619c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6629 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 20:12:32 +00:00
Chris Lattner
619c3140e3 Test seteq AND setne
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6628 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 20:11:19 +00:00
Chris Lattner
340a2875b5 New testcase, the JIT currently handles this right, I just don't want to
reintroduce a bug that didn't have a testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6623 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 16:57:55 +00:00
Chris Lattner
7990199625 New testcase for PHI handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6621 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 05:38:30 +00:00
Vikram S. Adve
bae287671a Modify tracing rules to use opt -trace[m] instead of llc -trace[m].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6607 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-04 14:24:52 +00:00
Chris Lattner
1812a9b92d Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6600 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-04 04:47:40 +00:00
Chris Lattner
5feab1631f Add new test for inverting branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6598 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-04 04:37:46 +00:00
Vikram S. Adve
24672c3d12 Improved how tracing can be used:
-- added new targets %.trace-out-llc and %.trace-out-cbe
-- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6585 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-03 18:56:57 +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
707af6efec Add support for C++ tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6540 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 05:49:11 +00:00
Chris Lattner
4bf00c10d5 No need to print out bytecode :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6537 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 05:42:16 +00:00
Chris Lattner
2e33430a0d New testcase, reduced from 300.twolf by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6534 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 04:58:23 +00:00
Chris Lattner
71799cda17 Testcase distilled from 255.vortex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6525 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 03:07:54 +00:00
Chris Lattner
d50cbf00e3 Old testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6521 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 02:13:02 +00:00
Chris Lattner
af2f438c2c Add tests for cast of long to bool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6508 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-01 03:37:25 +00:00
Chris Lattner
4d6404f762 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6505 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-01 03:34:53 +00:00
Chris Lattner
e4a013377a Add tests for 64 bit shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6501 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-01 01:57:44 +00:00
Chris Lattner
8afdc7de1c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6494 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 23:27:10 +00:00
Chris Lattner
eea93839eb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6484 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 21:33:08 +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
cfea29ff6d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6481 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 21:04:39 +00:00
Chris Lattner
87a09562d5 Add another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6478 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 20:33:09 +00:00
Chris Lattner
c036cfafe0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6477 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 20:21:13 +00:00
Vikram S. Adve
162421522b 3 more bugs from the SPEC codes and from richards_benchmark.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6458 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 04:45:56 +00:00
Chris Lattner
e236eca7bb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6454 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-30 21:03:00 +00:00
Chris Lattner
fa4c20dd92 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6427 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-30 05:26:08 +00:00
Chris Lattner
aa8ca2df91 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6417 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 21:07:34 +00:00
Chris Lattner
2cc36e6997 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6412 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 20:15:35 +00:00
Chris Lattner
265a0c19a1 Check in old tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6408 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 19:17:51 +00:00
Chris Lattner
c9c41ee9d0 Change tests to use testrunner
new test


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6399 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 15:16:10 +00:00
Vikram S. Adve
bd6161d401 Three kinds of boolean values handled incorrectly:
-- setCC of FP type used by a Phi: have to save in reg.
-- setNE of FP type used by a branch: cannot use result directly in branch!
-- setCC used outside the same basic block: have to save in reg. for now


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6382 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-28 13:54:41 +00:00
Chris Lattner
a12f1e79bb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6353 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 16:45:09 +00:00
Chris Lattner
8879c82ff4 Start testing SRoA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6350 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 16:10:03 +00:00
Chris Lattner
016d7b9ed8 Initial testcases for scalar replacement of aggregates pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6347 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 15:51:17 +00:00
Chris Lattner
f449a2a6ac New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6337 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-26 23:41:13 +00:00
Chris Lattner
28345b9193 New testcase identified by Brian Gaeke. Gotta love GCC extensions. :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6310 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-23 15:07:31 +00:00
Chris Lattner
9c9b4977a4 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6299 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 20:43:21 +00:00
Chris Lattner
b83c613cf1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6298 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 20:43:06 +00:00
Chris Lattner
8a879a16cf Make the testcase even more insane
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6280 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 15:49:58 +00:00
Chris Lattner
f7b1bdf3b6 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6279 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 15:33:33 +00:00
Chris Lattner
45aebdd04a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6278 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 23:01:50 +00:00
Chris Lattner
afb0e71e22 New testcase that was killing the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6277 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 23:01:35 +00:00
Chris Lattner
62a4b839a6 New testcase that crashes the funcresolve pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6272 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 20:44:16 +00:00
Chris Lattner
6011733e79 Trim testcase a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6269 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 19:55:10 +00:00
Chris Lattner
5ce0351370 New testcase identified by joel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6268 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 19:48:33 +00:00
Chris Lattner
5a7a849403 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6264 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 18:10:53 +00:00
Chris Lattner
f689374181 New testcase, found by inspection
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6257 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 17:46:02 +00:00
Chris Lattner
06e4ea3f7c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6256 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 17:34:24 +00:00
Chris Lattner
d32cac6009 Add run string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6254 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 16:05:47 +00:00
Chris Lattner
a35d594cf0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6253 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-21 15:57:25 +00:00
Chris Lattner
433f1d8c1d Add flexibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6246 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-17 22:33:18 +00:00
Chris Lattner
9b11f48711 Initial test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6240 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-17 22:18:33 +00:00
Chris Lattner
2c51711a55 New testcase, straight out of the asm manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6237 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 21:02:11 +00:00
Chris Lattner
3e2c5261d6 Add note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6235 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 19:38:39 +00:00
Chris Lattner
a60f855dc6 New testcase that breaks the assembler.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6233 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:52:08 +00:00
Chris Lattner
451840e8e5 Depends on analyze, not opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6229 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:32 +00:00
Chris Lattner
b428c8b1d3 New directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6228 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:12 +00:00
Chris Lattner
ed69ad778d New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6227 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:03:03 +00:00
Chris Lattner
98a3e98fa4 Add new loopinfo test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6226 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-15 18:02:54 +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
07f2e54d12 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6222 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 23:34:17 +00:00
Chris Lattner
6200a577c7 New testcase that breaks CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6217 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 21:08:04 +00:00
Chris Lattner
1b2bde9651 Ulimit the test, and print out a more interesting output if failure occurs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6216 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 19:54:07 +00:00
Chris Lattner
995d7aeefa Remove long dead file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6213 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 19:02:27 +00:00
Chris Lattner
ec26d4d314 Fix path problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6208 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 18:44:22 +00:00
Chris Lattner
dec2d799e6 Generalize the script a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6206 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 18:39:57 +00:00
Chris Lattner
aed089d9fb Modernize testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6205 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 18:37:03 +00:00
Chris Lattner
2434a58dcf New testcase producing assertion failure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6197 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 15:44:54 +00:00
Chris Lattner
939f474832 Forgot to make test executable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6196 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 14:47:38 +00:00
Chris Lattner
c5c5063a07 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6195 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 14:38:10 +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
f3b467c243 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6171 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:11:21 +00:00
Chris Lattner
a9028e68b1 Add support for the LLVM C++ frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6167 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:06:00 +00:00
Chris Lattner
1f1f371d12 Make test cases executable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6166 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 19:50:01 +00:00
Chris Lattner
5bd1acc0d6 Make testcase executable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6165 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 19:40:31 +00:00
Chris Lattner
36bd5b04fa New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6164 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 18:09:44 +00:00
Chris Lattner
6736dce150 Add test for handling ptrmem_cst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6163 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 23:34:59 +00:00
Chris Lattner
4c10acae4d Make test more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6162 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 23:33:00 +00:00
Chris Lattner
084e8074a4 Add first C++ test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6161 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 23:22:51 +00:00
Chris Lattner
b17a67807a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6157 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 22:28:15 +00:00
Chris Lattner
fd9c5de425 New file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6156 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 22:25:24 +00:00
Chris Lattner
0673d475c0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6152 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 21:57:41 +00:00
Chris Lattner
8c1919475f Enable more tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6149 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 20:39:30 +00:00
Chris Lattner
4f91285df4 Add tests for casts from unsigned integers to floats
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6147 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 20:35:29 +00:00
Chris Lattner
4dbaba4999 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6127 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:34:39 +00:00
Chris Lattner
bc9ab86639 Make regression tests fail if any warnings are emitted
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6126 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:33:52 +00:00
Chris Lattner
2cfd1aef10 Testcase which kills the constant folder
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6124 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:18:53 +00:00
Chris Lattner
a3dcb74e41 New bug distilled from aha program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6122 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 15:06:20 +00:00
Chris Lattner
12ba6fd61f Add old test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6111 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 04:06:38 +00:00
Chris Lattner
bbd5839a97 Simplify testcase a bit more
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6107 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 02:31:48 +00:00
Chris Lattner
e22766c14d New testcase that crashes Jello
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6106 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-12 02:27:05 +00:00
Chris Lattner
82df8dfe87 Checkin old test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6102 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 22:46:23 +00:00
Chris Lattner
98abb52867 Remove dead makefile code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6095 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 21:41:43 +00:00
Chris Lattner
5047688ee5 * Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6089 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 18:49:10 +00:00
Chris Lattner
fb311eb775 Allow llx tests as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6088 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 18:38:25 +00:00
Chris Lattner
e0d8daadad Enable the new C front-end for targets which define LLVMGCCARCH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6065 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-09 04:19:58 +00:00
Chris Lattner
b167c3c9c9 Remvoe testcase that should never be implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6048 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 20:31:37 +00:00
Chris Lattner
0746c2824f New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6047 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 20:08:03 +00:00
Chris Lattner
6d95257a91 Test the whole range of varargs handling stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6034 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 03:46:51 +00:00
Chris Lattner
92858ed562 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-08 02:39:37 +00:00
Chris Lattner
761b47180e New testcase for problem that is actually generic to all 32 bit LLI targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6016 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-07 20:23:32 +00:00
Chris Lattner
7c87e407fc New testcase distilled from the fhourstones benchmark
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6006 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 19:41:25 +00:00
Chris Lattner
fb46e3c58e Make sure to compiel the LowerSwitch tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6005 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-06 19:04:02 +00:00
Chris Lattner
c472d7c52a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6001 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 18:55:29 +00:00
Chris Lattner
bc8e9c6f56 Fix miscompilation found in Fhourstones by bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5993 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:39:35 +00:00
Chris Lattner
25f088e223 Fix buggy tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5987 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-03 03:08:54 +00:00
Chris Lattner
3d73c706e1 Reduce testcase a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:38:57 +00:00
Chris Lattner
215f0b77c8 New testcase for the lowerswitch pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5977 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:27:24 +00:00
Chris Lattner
8d248c51e9 New testcase: do not "raise" a call that is not through a function pointer!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5974 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-01 21:02:35 +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
aa709d065a Add comment to testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5958 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 19:33:51 +00:00
Chris Lattner
91b5bbd47c Whoever checked this testcase in apparently never tested it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-26 17:44:17 +00:00
Chris Lattner
d96f1eb5e0 New testcase that crashes preheaders
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 23:26:52 +00:00
Chris Lattner
152eee1249 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5951 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 22:53:12 +00:00
Chris Lattner
b1f92f8f3a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5947 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 20:09:17 +00:00
Chris Lattner
8f81c10871 Fix bugs in testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 19:49:36 +00:00
Chris Lattner
32a521ec56 Add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 18:44:30 +00:00
Chris Lattner
c938ba0c0d New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 17:59:02 +00:00
Chris Lattner
68be6e7f6a New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5916 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-25 00:46:14 +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
63a6e77485 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5857 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 22:00:15 +00:00
Chris Lattner
0bc0f47845 Add testcase for target information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5842 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 19:06:48 +00:00
Chris Lattner
f5c1f08df6 ADd newline to end of file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5841 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-22 18:43:23 +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
2ff9343f2b Update testcases to match what is currently output by the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5817 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-19 00:17:11 +00:00
Chris Lattner
9f755bd4dd Add testcase for constantexpr gep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5815 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-19 00:15:00 +00:00
Chris Lattner
0892ace468 Test case for forward declared global array with no size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5814 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-18 23:46:44 +00:00
Chris Lattner
bcecb4baf9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5809 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-18 19:22:39 +00:00
Chris Lattner
681cfb9ab4 Add a simple test for hex constant integers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-17 22:19:23 +00:00
Chris Lattner
4d21cb4151 Test case to make sure that constexprs are automatically folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5798 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-17 19:21:22 +00:00
Chris Lattner
843c80f7a3 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5794 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 22:46:16 +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
a36e48d7d0 Add PRE directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5783 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-16 20:23:42 +00:00
Chris Lattner
9fa01f2fa5 New testcase that triggered assertion failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5776 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-15 16:07:05 +00:00
Misha Brukman
5cd8ae9255 Simple arithmetic loop-based test case for modulo scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5774 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 22:01:15 +00:00
Misha Brukman
cf54d17f75 Adding a simple test case in the hope that commit-diffs.pl will pick this up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5773 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 21:49:13 +00:00
Misha Brukman
c28e3c3880 Not only is this the first test case for ModuloScheduing, it's also the first
test case for the CVS commit-diffs.pl script which should show the entire
contents of this file below:


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5772 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 21:43:58 +00:00
Chris Lattner
228fd156f1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5770 91177308-0d34-0410-b5e6-96231b3b80d8
2003-04-10 19:21:07 +00:00
Chris Lattner
7341178c5d Initial checkin of PRE test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5761 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-31 21:19:23 +00:00
Chris Lattner
7cd2fff2fd Initial checkin of PRE tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5760 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-31 19:57:36 +00:00
Chris Lattner
056e84c5b6 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5746 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-18 22:53:19 +00:00
Chris Lattner
be0fe12f72 Test limited reassociation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5742 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-11 00:10:59 +00:00
Chris Lattner
8408add00a Add optimizations:
- (A & C1)+(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
 - (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5741 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:52:54 +00:00
Chris Lattner
533741a764 Add testcases for negated multiplies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5739 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:22:50 +00:00
Chris Lattner
0cec701eb2 Add test for demorgans law with constants
Add test for other form of demorgans


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5737 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 23:13:32 +00:00
Chris Lattner
1b77300154 * Add testcases for associative operators
* Add testcase for or ubyte, 255 which was broken before


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5735 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 22:43:56 +00:00
Chris Lattner
2bd37807d0 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5732 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 19:44:01 +00:00
Chris Lattner
c232870b6f Add a bunch of new tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5730 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 19:16:20 +00:00
Chris Lattner
63a9548591 Add test for: (A|B)^B == A & (~B)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5727 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 18:24:04 +00:00
Chris Lattner
a66e2fa195 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5726 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-10 18:20:53 +00:00
Chris Lattner
5db057fbb0 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5721 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-07 17:42:55 +00:00
Chris Lattner
42289a3010 Update testcases to use long to index gep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5717 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-06 19:59:08 +00:00
Chris Lattner
556b50c193 Add a link to source of inspiration
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5707 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 23:02:25 +00:00
Chris Lattner
2fc36e42ca New testcase for pow builtin recognition
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5706 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:56:59 +00:00
Chris Lattner
8e019aa9c9 Add another testcase that may eventually be handled...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5705 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:50:55 +00:00
Chris Lattner
4872eaf189 Add testcase for new instcombine xform
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5703 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 22:32:48 +00:00
Chris Lattner
a1040199e4 Add new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5701 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 21:34:35 +00:00
Chris Lattner
ceb536eda3 New testcase for feature simplifycfg should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5698 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 20:35:24 +00:00
Chris Lattner
a8bda21c8d Add testcase for new feature for simplifycfg pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5697 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-05 20:22:50 +00:00
Chris Lattner
3fc7b6bd65 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5694 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-04 16:33:52 +00:00
Chris Lattner
1e6233af96 Make the testcase more interesting, test that two different array elements don't alias
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5689 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 23:27:15 +00:00
Chris Lattner
3475ed024e New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5688 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 21:29:00 +00:00
Chris Lattner
f5e84662c2 Add new testcase for forward reference of struct type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5687 91177308-0d34-0410-b5e6-96231b3b80d8
2003-03-03 20:28:42 +00:00
Chris Lattner
2daba3bb1c Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5674 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:21:27 +00:00
Chris Lattner
fc4b9bc1b0 Add a test for a feature that I hope will be implemented someday
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5673 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:20:56 +00:00
Chris Lattner
86ca0c1f8b New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5672 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 19:13:58 +00:00
Chris Lattner
46f1785def New test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5665 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-28 02:55:26 +00:00
Chris Lattner
a5ca8e5c50 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5660 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 22:34:31 +00:00
Chris Lattner
da336622be New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5657 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 21:59:31 +00:00
Chris Lattner
8ac33045d1 Testcase for Preheaders problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5654 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-27 21:38:56 +00:00
Chris Lattner
8856f4c478 New testcase crashing LICM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5648 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 23:16:44 +00:00
Chris Lattner
cd4d41cd4f Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5646 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 22:01:58 +00:00
Chris Lattner
2271fddb6d New testcase for size tracking brokenness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5644 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 21:39:52 +00:00
Chris Lattner
ddd5b417c6 Rename -no-* to -disable-*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5642 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 20:00:41 +00:00
Chris Lattner
24a0bee387 Hopefully final tweak to this testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5626 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-26 16:18:00 +00:00
Chris Lattner
7b9b1f9ad3 Add a new test for basicaa
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5625 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-25 21:43:37 +00:00
Chris Lattner
be677588a3 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5621 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 23:14:07 +00:00
Chris Lattner
4944d8dbc8 Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5617 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 20:30:14 +00:00
Chris Lattner
4e31365703 Tweak testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5612 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 03:52:13 +00:00
Chris Lattner
0b1cda1955 New testcase for scalar promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5611 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-24 03:52:04 +00:00
Chris Lattner
96d20c57f3 New testcase to check to see if LICM is performing scalar promotion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5607 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-22 22:20:19 +00:00
Chris Lattner
e9d0070e18 Add a testcase for broken loopinfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5602 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-20 00:09:26 +00:00
Chris Lattner
65a3f17097 Make tests rerun if analyze is rebuilt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5601 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-20 00:09:19 +00:00
Chris Lattner
fa59079c3c Add new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5591 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 19:55:31 +00:00
Chris Lattner
b19fa8d3d6 Modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5590 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 19:43:53 +00:00
Chris Lattner
e14e50d76b Modernize testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5589 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 19:43:21 +00:00
Chris Lattner
5640f33331 test for a variety of new transformations:
* A & ~A == 0
  * A / (2^c) == A >> c  if unsigned
  * 0 / A == 0
  * 1.0 * A == A
  * A * (2^c) == A << c
  * A ^ ~A == -1
  * A | ~A == -1
  * 0 % X = 0
  * A % (2^c) == A & (c-1) if unsigned
  * A - (A & B) == A & ~B
  * -1 - A == ~A


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5588 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 19:28:47 +00:00
Chris Lattner
07928ef7f5 modernize testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5586 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 19:16:45 +00:00