diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-05-09 20:05:05 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-05-09 20:05:05 +0000 |
commit | 7caaa7987932470f222ead804b01e434a4a51445 (patch) | |
tree | 2028e660c4bcd1c4707e6004de867b6e10d0e63b /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | 101ec894c3f294cefb7d72a908dbc4d1baea7b43 (diff) | |
download | bcm5719-llvm-7caaa7987932470f222ead804b01e434a4a51445.tar.gz bcm5719-llvm-7caaa7987932470f222ead804b01e434a4a51445.zip |
[InstCombine] clean up matchDeMorgansLaws(); NFCI
The motivation for getting rid of dyn_castNotVal is to allow fixing:
https://bugs.llvm.org/show_bug.cgi?id=32706
So this was supposed to be functional-change-intended for the case
of inverting constants and applying DeMorgan. However, I can't find
any cases where that pattern will actually get to matchDeMorgansLaws()
because we have other folds in visitAnd/visitOr that do the same
thing. So this ends up just being a clean-up patch with slight efficiency
improvement, but no-functional-change-intended.
llvm-svn: 302581
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions