aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-04-24 18:24:36 +0000
committerSanjay Patel <spatel@rotateright.com>2017-04-24 18:24:36 +0000
commit0889225f51791cb4e8219a9dd96c3144122348ec (patch)
treecd69e38b730176c23efafa34134de4931b720ef9 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentf2fc5b068e011455a4857cdc9349055c5a8b5221 (diff)
downloadllvm-0889225f51791cb4e8219a9dd96c3144122348ec.zip
llvm-0889225f51791cb4e8219a9dd96c3144122348ec.tar.gz
llvm-0889225f51791cb4e8219a9dd96c3144122348ec.tar.bz2
[InstSimplify] move (A & ~B) | (A ^ B) -> (A ^ B) from InstCombine
This is a straight cut and paste, but there's a bigger problem: if this fold exists for simplifyOr, there should be a DeMorganized version for simplifyAnd. But more than that, we have a patchwork of ad hoc logic optimizations in InstCombine. There should be some structure to ensure that we're not missing sibling folds across and/or/xor. llvm-svn: 301213
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions