[PATCH] D83284: [InstCombine] Improve select -> phi canonicalization: consider more blocks

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 00:24:26 PDT 2020


mkazantsev updated this revision to Diff 276933.
mkazantsev added a comment.

Implemented deduplication (used SetVector to ensure that we have deterministic fold order).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83284/new/

https://reviews.llvm.org/D83284

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83284.276933.patch
Type: text/x-patch
Size: 7110 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200710/db5e6a19/attachment-0001.bin>


More information about the llvm-commits mailing list