[PATCH] D109194: [InstCombine] Canonicalize masked merge; optimize (a & b) | (~a & c)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 14:08:43 PDT 2021
nikic added a comment.
I don't think this makes sense as an InstCombine (middle end) transform. The resulting expression is less analyzable both in that freeze is a complete analysis blocker, and xor is generally less analyzable than and/or. This looks like something we should be doing in the backend instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109194/new/
https://reviews.llvm.org/D109194
More information about the llvm-commits
mailing list