Nate Begeman
2a40841387
Initial checkin of regression test for generating the PowerPC rlwimi
...
instruction, which performs bitfield inserts. All tests should compile
to one rlwimi instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17206 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-24 10:30:22 +00:00
Chris Lattner
7450d81342
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17176 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23 03:10:01 +00:00
Chris Lattner
40e08082a0
New testcase. Check for the ability to promote a malloc whose initialzed state is checked by the program
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17160 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 06:43:07 +00:00
Chris Lattner
d7e30973cd
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17115 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-18 04:06:41 +00:00
Chris Lattner
559069d46d
New testcase that ADCE shouldn't crash on
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17105 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 23:44:02 +00:00
Chris Lattner
58f8bdc6c6
New testcase that crashes the inliner
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17103 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 23:20:29 +00:00
Chris Lattner
41b2dc4133
New testcase, no PHI should be inserted.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17097 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-17 21:25:32 +00:00
Chris Lattner
51a2c5aebf
New testcase, rework testcases to fail if there are any gep's other than those
...
involving %B instead of allowing any geps except %A's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17065 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 19:44:23 +00:00
Chris Lattner
6542a46e6f
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17061 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:28:01 +00:00
Chris Lattner
9bbcf09431
testcases for undefined and unreachable
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17058 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-16 18:24:11 +00:00
Chris Lattner
1c7efba2bd
When converting phi nodes into select instructions, we shouldn't promote PHI
...
nodes unless we KNOW that we are able to promote all of them. In this case
promoting the phi to a select is silly because we will always have to do the
call conditionally. As such, select promotion is actually a pessimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16972 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-14 05:12:50 +00:00
Chris Lattner
b18dfebb3a
New testcase for memmove -> memcpy transform
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16931 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-12 04:51:55 +00:00
Chris Lattner
c58cf5b921
This testcase ensures that we can SRA a global even if part of the global
...
cannot be SRA'd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16915 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:30 +00:00
Chris Lattner
95d0bbfda6
These testcases check to see if we can promote malloc's to globals in some
...
cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16914 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 05:00:12 +00:00
Chris Lattner
e3f27e66e5
Another testcase. We should be able to devirtualize the call even though
...
we cannot completely eliminate the global.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16900 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 23:12:33 +00:00
Chris Lattner
b3deddcf25
New testcase that crashes -globalopt. I found this through inspection, not
...
actually in the wild :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16877 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 17:06:09 +00:00
Chris Lattner
ba31f8098f
New testcase we were not handling before.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16875 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-10 16:46:48 +00:00
Chris Lattner
3de9848330
A testcase that globalopt now handles
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16872 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-09 21:50:05 +00:00
Chris Lattner
23e2563226
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16862 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-09 02:50:01 +00:00
Chris Lattner
508540321b
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16856 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 20:57:46 +00:00
Chris Lattner
bb99fc42e3
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16841 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 17:29:47 +00:00
Chris Lattner
d4bcae9031
New testcase. The setcc is only used by a select, but not as a condition:
...
it cannot be folded in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16839 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 16:33:40 +00:00
Chris Lattner
8797f59758
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 05:03:25 +00:00
Chris Lattner
d74634a885
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16833 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-08 03:41:59 +00:00
Chris Lattner
b25ac342a4
These files now live in Transforms/GlobalOpt
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16809 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 19:16:43 +00:00
Chris Lattner
904697e591
Move these files from Transforms/GlobalConstifier
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16808 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 19:16:26 +00:00
Chris Lattner
69406b06ad
Add new testcase, rename pass
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16799 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-07 04:07:08 +00:00
Chris Lattner
86900a46d4
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16791 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 20:42:51 +00:00
Chris Lattner
24c0532f50
New testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16768 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-06 15:07:56 +00:00
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