summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-04-15 18:59:44 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-04-15 18:59:44 +0000
commitf84bfb2147e404e7bddb4eb0cd701f2b35b1b80f (patch)
treedcb5d997e90c4e1339a31d7547211ffc32c75b39 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parent9792838905bb2462c7d58ac0817bed2942e994de (diff)
downloadbcm5719-llvm-f84bfb2147e404e7bddb4eb0cd701f2b35b1b80f.tar.gz
bcm5719-llvm-f84bfb2147e404e7bddb4eb0cd701f2b35b1b80f.zip
[InstCombine] Simplify 'xor' to 'or' if no common bits are set.
Summary: In order to get the whole fold as specified in [[ https://bugs.llvm.org/show_bug.cgi?id=6773 | PR6773 ]], let's first handle the simple straight-forward things. Let's start with the `and` -> `or` simplification. The one obvious thing missing here: the constant mask is not handled. I have an idea how to handle it, but it will require some thinking, and is not strictly required here, so i've left that for later. https://rise4fun.com/Alive/Pkmg Reviewers: spatel, craig.topper, eli.friedman, jingyue Reviewed By: spatel Subscribers: llvm-commits Was reviewed as part of https://reviews.llvm.org/D45631 llvm-svn: 330103
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud