commit | faa34c536b3f9fa5c1ea61143ff37b7b398b6702 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Tue Jan 28 17:00:18 2020 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jan 28 23:50:01 2020 +0000 |
tree | 3267465e2ab0a272a9a37518236d6aa4665425f8 | |
parent | 6f5441a2f6a251da84384b69e476e291bdbde9c4 [diff] |
partial strength reduction for bit ops We had full constant eval of these already; this adds a bunch of degenerate cases when one argument is known to be true or false. Change-Id: Ic0535d8a99357947fd73bd9f719eec4645dc919d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/267243 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@google.com>