[PATCH] D82005: [InstCombine] Replace selects with Phis
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 17 05:53:51 PDT 2020
mkazantsev created this revision.
mkazantsev added reviewers: xbolva00, fhahn, nikic, lebedev.ri.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
mkazantsev added a child revision: D81375: [InstCombine] Simplify boolean Phis with const inputs using CFG.
We can sometimes replace a select with a Phi node if all of its values
are available on respective incoming edges.
https://reviews.llvm.org/D82005
Files:
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/Transforms/InstCombine/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82005.271340.patch
Type: text/x-patch
Size: 4221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200617/d2c8b8a0/attachment.bin>
More information about the llvm-commits
mailing list