Files
Craig Topper 1cadf61272 [InstCombine] Improve the expansion in SimplifyUsingDistributiveLaws to handle cases where one side doesn't simplify, but the other side resolves to an identity value
Summary:
If one side simplifies to the identity value for inner opcode, we can replace the value with just the operation that can't be simplified.

I've removed a couple now unneeded special cases in visitAnd and visitOr. There are probably other cases I missed.

Reviewers: spatel, majnemer, hfinkel, dberlin

Reviewed By: spatel

Subscribers: grandinj, llvm-commits, spatel

Differential Revision: https://reviews.llvm.org/D35451

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308111 91177308-0d34-0410-b5e6-96231b3b80d8
2017-07-15 21:49:49 +00:00
..
2013-08-28 23:04:41 +00:00
2012-02-29 01:53:13 +00:00
2014-06-02 21:23:54 +00:00
2016-07-16 16:24:06 +00:00
2017-01-22 20:28:56 +00:00
2014-03-06 05:32:52 +00:00
2017-04-17 03:41:47 +00:00
2016-06-05 17:29:45 +00:00
2017-01-10 23:08:54 +00:00
2014-11-04 05:17:58 +00:00
2014-10-21 23:00:20 +00:00
2016-04-17 04:30:43 +00:00
2017-05-19 22:37:09 +00:00
2015-01-06 23:00:33 +00:00
2016-04-05 17:24:54 +00:00
2015-06-05 18:04:42 +00:00
2015-08-11 21:33:55 +00:00
2015-08-28 19:09:31 +00:00
2017-04-19 12:06:40 +00:00
2016-01-07 19:27:16 +00:00
2017-05-03 23:32:51 +00:00
2017-04-14 17:47:07 +00:00
2013-08-28 23:04:41 +00:00
2013-08-28 23:04:41 +00:00
2013-03-28 19:34:14 +00:00
2017-05-19 22:37:09 +00:00
2017-05-19 22:37:09 +00:00
2017-05-19 22:37:09 +00:00
2016-04-05 17:24:54 +00:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.