commit | f7a9048833e12a3586d4bac44ee62897d6e093e7 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Sun Apr 23 22:00:02 2017 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Sun Apr 23 22:00:02 2017 +0000 |
tree | 7efceaa518f9f58cd5010a1dd8e874075cdbd688 | |
parent | 33d67f13484fb044641b65eb1e3d4be8f6b72f18 [diff] |
[InstCombine] add/move folds for [not]-xor We handled all of the commuted variants for plain xor already, although they were scattered around and sometimes folded less efficiently using distributive laws. We had no folds for not-xor. Handling all of these patterns consistently is part of trying to reinstate: https://reviews.llvm.org/rL300977 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301144 91177308-0d34-0410-b5e6-96231b3b80d8