Commit Graph

1665 Commits

Author SHA1 Message Date
Chris Lattner
fe386c4759 When tail duplicating these functions, the add instruction should not be
duplicated, even though the block it is in is duplicated.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16757 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 03:26:38 +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
cbd141fa33 New testcase for PR450
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16670 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-05 00:18:21 +00:00
Chris Lattner
1b2f90d2c0 The verifier takes 50s on this testcase, that is not good n stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-29 20:07:25 +00:00
Chris Lattner
a2393502be New testcasses for divides that can be eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16587 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-29 17:37:07 +00:00
Chris Lattner
e14a9a71d3 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16581 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-29 05:06:12 +00:00
Chris Lattner
b5ddea5d24 More testcases for recent instcombine patches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16569 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-29 03:18:20 +00:00
Chris Lattner
0b948848eb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16560 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 22:31:49 +00:00
Chris Lattner
3b03395b38 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16556 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 21:39:35 +00:00
Chris Lattner
46c4dcde44 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16548 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 18:21:01 +00:00
Chris Lattner
59359f1e84 New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16547 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 18:18:35 +00:00
Chris Lattner
8fb6882f19 New testcase for a latent bug in instcombine that I have been chasing for
1.5 days :(


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16545 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 17:50:05 +00:00
Chris Lattner
f9b28d2d74 Testcase for LLVM PR445
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16537 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 03:36:39 +00:00
Chris Lattner
584902e0a3 New testcase that crashes the C++ FE, encountered while working on PR445
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16532 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-28 02:29:40 +00:00
Chris Lattner
dffb445503 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16527 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-27 19:25:20 +00:00
Chris Lattner
907c7c7dd1 Testcases for rev 250 of InstructionCombining.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16522 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-27 16:21:26 +00:00
Chris Lattner
71dd801055 Add some tests for shr-and folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16507 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-24 15:18:43 +00:00
Chris Lattner
7502ae6640 New testcase for a pattern that occurs 20 times in perlbmk
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16503 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-23 21:42:49 +00:00
Chris Lattner
60a11f1970 load null is undefined behavior, this should fold
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16498 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-23 15:45:20 +00:00
Chris Lattner
c804d530c5 Two testcases for invalid transformations that instcombine is doing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16446 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-20 10:14:27 +00:00
Chris Lattner
c2fa9894ee New testcase for PR362: Icky code generated for std::min/std::max
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16408 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 19:17:10 +00:00
Chris Lattner
1fb6e41822 Instcombine now helps out with these
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16405 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 18:45:45 +00:00
Chris Lattner
b4f5c68e5a Add two new testcases that instcombine should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16403 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-19 18:43:01 +00:00
Chris Lattner
8b20217feb New testcase for PR420
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-15 00:58:49 +00:00
Reid Spencer
eb32ffe2f8 Per Bug 257
The "Programs" directory no longer lives here. It have been moved to its
own cvs module. Check it out into llvm/projects and configure/build it
there.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16182 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-05 08:18:23 +00:00
Brian Gaeke
8a702e8e1b New version of Bill Wendling's PR33 patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16050 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-25 19:00:42 +00:00
Chris Lattner
2f72accd86 Modify testcase to merit a warning, though no warning is still printed!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16029 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-24 17:40:02 +00:00
Brian Gaeke
cfce103897 note pr#
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16015 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-24 07:28:45 +00:00
Brian Gaeke
7d837d152d A PR60 test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16005 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-23 20:49:33 +00:00
Chris Lattner
0c97a62c88 New testcase that the vector support does not work with yet.
This is also designed to make lowering a bitch :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15941 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 08:34:27 +00:00
Reid Spencer
442729a671 Added various tests in support of Packed Types.
Tests kindly provided by Brad Jones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15940 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 06:06:43 +00:00
Reid Spencer
bf60a09987 Added a test case for packed types. Test case kindly provided by Brad Jones
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15939 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-20 06:02:24 +00:00
Reid Spencer
cad396dde1 Fixed the test to actually run correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15921 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-19 19:23:28 +00:00
Reid Spencer
0b6e55b18b Add a test case test test 1.3 alignment removal and to test a regression
on disassembly speed (where SlotMachine was being recomputed on each
getSlot() call).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15920 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-19 19:11:57 +00:00
Chris Lattner
3bbb4102ac Believe it or not, this was broken in LLVM 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15812 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-16 05:39:19 +00:00
Chris Lattner
9a8e008751 New testcase that the constifier should handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15734 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-14 20:47:56 +00:00
Chris Lattner
0c3bba3d9c New basic testcase for the constifier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15733 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-14 20:44:09 +00:00
Chris Lattner
07ad63bee9 Add another test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15718 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-13 03:27:48 +00:00
Chris Lattner
07ca8e7e28 New testcase, which causes the block extractor to barf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15715 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-13 03:08:54 +00:00
Misha Brukman
5b160f19c6 Simple hand-coded tests to aid in early development of backends, along with a
Makefile to run ad-hoc tests easily.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15664 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-11 14:16:34 +00:00
Chris Lattner
287433594b New testcase that instcombine is getting wrong
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15637 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-11 00:49:50 +00:00
Chris Lattner
008fad0236 This testcase causes the CBE to generate code that is not legal C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15601 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 23:56:17 +00:00
Chris Lattner
efd0149de9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-09 21:03:35 +00:00
Chris Lattner
3ee14deb32 New testcase for critical 1.3 feature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15553 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-06 18:09:02 +00:00
John Criswell
cc455dea0f Use the new prcontext script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15427 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:31:58 +00:00
John Criswell
955a742569 Add support for using the prcontext python script instead of grep -C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:29:38 +00:00
John Criswell
21eccb6563 New python script that print a specified number of lines surrounding a
located pattern.
In other words, grep -C for Solaris.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15425 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:28:50 +00:00
Chris Lattner
91e76e8887 Initial testcase for bytecode compatibility regression test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15405 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 18:06:28 +00:00
Chris Lattner
acb7444b05 Move Transforms/BasicAA to Analysis/BasicAA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15316 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-29 01:34:10 +00:00