Chris Lattner
|
fb384a15ff
|
New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12820 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-10 22:21:14 +00:00 |
|
Chris Lattner
|
7706324512
|
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12818 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-10 22:01:27 +00:00 |
|
Chris Lattner
|
7c4865dfff
|
Another testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12802 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-09 23:47:52 +00:00 |
|
Chris Lattner
|
1c48527330
|
Testcase to make sure we can apply the shift to the operands of the select,
eliminating the shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12801 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-09 23:47:24 +00:00 |
|
Chris Lattner
|
a5c5830d53
|
Add testcases for harder combining cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12799 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-09 23:43:48 +00:00 |
|
Chris Lattner
|
b5ee959e63
|
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12792 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-09 18:19:29 +00:00 |
|
Chris Lattner
|
77aac1226a
|
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12783 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-08 20:39:40 +00:00 |
|
Chris Lattner
|
7018f5c2d6
|
Add some more cases we should combine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12768 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-08 04:43:04 +00:00 |
|
Chris Lattner
|
ef09aab9ce
|
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12761 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-07 18:38:01 +00:00 |
|
Chris Lattner
|
ec3f8cd551
|
New testcase that crashes the instcombine pass. Dominance properties have
no meaning if the code is not reachable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12657 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-04-05 02:01:32 +00:00 |
|
Chris Lattner
|
6d0996866c
|
Add some testcases for select simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12543 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-30 19:36:54 +00:00 |
|
Chris Lattner
|
f6e59410ee
|
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12518 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-25 22:59:06 +00:00 |
|
Chris Lattner
|
f3fbddd333
|
New testcase, the optimizer can delete zero sized allocas
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12506 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-19 06:07:43 +00:00 |
|
Chris Lattner
|
ffd072af91
|
New testcase, distilled from povray I think.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12364 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-13 23:53:04 +00:00 |
|
Chris Lattner
|
eb416e85bc
|
Oh right, casts can interfere. Test this too
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12354 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-13 00:11:38 +00:00 |
|
Chris Lattner
|
99780ce874
|
new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12352 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-12 23:52:51 +00:00 |
|
Chris Lattner
|
f820e3b4b8
|
test instruction combiner opts for select instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12328 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-03-12 06:01:00 +00:00 |
|
Chris Lattner
|
43c4361178
|
new testcase for intrinsic folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11943 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-28 05:28:42 +00:00 |
|
Chris Lattner
|
efd74a0159
|
The instruction combining pass removes dead instructions, there is no need
to run the die pass after it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11942 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-28 05:26:06 +00:00 |
|
Chris Lattner
|
f7b0041fb5
|
The instcombiner should canonicalize comparisons.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11899 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-27 06:27:07 +00:00 |
|
Chris Lattner
|
86171b9203
|
Test for the other way also
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11767 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 20:24:16 +00:00 |
|
Chris Lattner
|
cedfd2c78d
|
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11766 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 20:19:51 +00:00 |
|
Chris Lattner
|
3c4de7fbe0
|
Add tests for casts that should be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11741 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 07:16:03 +00:00 |
|
Chris Lattner
|
19e40ade3d
|
Handle the unsigned form as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11739 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 06:37:33 +00:00 |
|
Chris Lattner
|
f4821745df
|
Add a slight variant of test10
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11736 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 05:59:52 +00:00 |
|
Chris Lattner
|
1dda055e55
|
This multiply can be eliminated
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11733 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-23 05:38:47 +00:00 |
|
Chris Lattner
|
0ca4418b95
|
Test that the instruction combiner can fold away a cast in a GEP instruction.
This occurs in 164.gzip, as a result of it declaring arrays extern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11701 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-22 05:24:09 +00:00 |
|
Chris Lattner
|
d8bed768ab
|
A new testcase for a situation that occurs in 181.mcf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11493 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-16 05:06:36 +00:00 |
|
Chris Lattner
|
72695f7bb7
|
Add a test for the "swap idiom", which LLVM should be able to unravel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11491 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-16 03:53:44 +00:00 |
|
Chris Lattner
|
a783c02749
|
Test for xor chains
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11489 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-02-16 01:19:52 +00:00 |
|
Chris Lattner
|
f6e180324e
|
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10843 91177308-0d34-0410-b5e6-96231b3b80d8
|
2004-01-14 05:53:11 +00:00 |
|
Chris Lattner
|
623f707bee
|
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9980 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-13 19:05:15 +00:00 |
|
Chris Lattner
|
c7f05ca2a3
|
This is not the instruction combiner's fault! No really!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9918 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-12 16:38:32 +00:00 |
|
Chris Lattner
|
9c9e9dfe6d
|
Reduced testcase for PR 110
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9917 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-12 16:24:30 +00:00 |
|
Chris Lattner
|
9716eb7676
|
New testcase for the other side
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9714 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-05 01:05:22 +00:00 |
|
Chris Lattner
|
519c6965f5
|
Since we're in the neighborhood, test for the inverse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9710 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-04 23:49:53 +00:00 |
|
Chris Lattner
|
736cca670f
|
Add a generalization of the previous case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9707 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-04 23:36:50 +00:00 |
|
Chris Lattner
|
f61641f7d4
|
New testcase for masking operation that frequently occurs in the pool allocator
for converting a number that is a power of two into a mask
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9706 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-04 23:21:22 +00:00 |
|
Chris Lattner
|
ab13ae8c46
|
New testcase for a bug in instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9680 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 18:33:44 +00:00 |
|
Chris Lattner
|
5fecdecda4
|
More testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9675 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 05:42:50 +00:00 |
|
Chris Lattner
|
4d3ba7397f
|
Move a test from cast-set to a new bit-tracking.ll file. Update file comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9674 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 05:30:34 +00:00 |
|
Chris Lattner
|
26f9c065a7
|
Add another case, which an implementation of test6 must be sure to handle
correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9672 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 05:08:53 +00:00 |
|
Chris Lattner
|
40cfd9ea41
|
Add the testcase from PR8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9669 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 03:52:34 +00:00 |
|
Chris Lattner
|
a5c5666d48
|
Add another case, which occurs in em3d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9668 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-03 03:51:26 +00:00 |
|
Chris Lattner
|
fc424c39de
|
Add test for instcombine transmogrifying allocation instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9653 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-11-02 05:56:58 +00:00 |
|
Chris Lattner
|
1758d4d863
|
New testcase crashing the instruction combiner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9599 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-30 00:39:25 +00:00 |
|
Chris Lattner
|
599dcb07f7
|
document real source of bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9413 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-23 16:00:59 +00:00 |
|
Chris Lattner
|
5e845c5444
|
A new testcase for an instcombine miscompilation!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9402 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-23 05:10:53 +00:00 |
|
Chris Lattner
|
d1c5ea1071
|
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-07 22:53:46 +00:00 |
|
Chris Lattner
|
ad5727d173
|
Add new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8816 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-10-02 15:11:09 +00:00 |
|