[PATCH] D84664: [InstCombine] Fold shift-select if all the operands are constant

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 01:25:43 PDT 2020


lebedev.ri added a comment.

In D84664#2177879 <https://reviews.llvm.org/D84664#2177879>, @fvrmatteo wrote:

> But resulting in a final LLVM-IR which is wrong <https://alive2.llvm.org/ce/z/ZF5LLt>:

That doesn't sound good.
Can you reduce the bitwidth of the testcase down to i8 at most?


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

https://reviews.llvm.org/D84664



More information about the llvm-commits mailing list