[PATCH] D66232: [InstCombine] Try to reuse constant from select in leading comparison

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 15:40:14 PDT 2019


lebedev.ri updated this revision to Diff 215697.
lebedev.ri marked 2 inline comments as done.
lebedev.ri added a comment.

Revisited test coverage, NFC.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D66232

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll
  llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll
  llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll
  llvm/test/Transforms/InstCombine/xor-of-icmps-with-extra-uses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66232.215697.patch
Type: text/x-patch
Size: 24793 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190816/234724d2/attachment.bin>


More information about the llvm-commits mailing list