[PATCH] D66965: [InstCombine] recognize bswap disguised as shufflevector

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 12:49:27 PDT 2019


spatel marked an inline comment as done.
spatel added a comment.

In D66965#1651426 <https://reviews.llvm.org/D66965#1651426>, @lebedev.ri wrote:

> Looks good.
>  The same applies to `llvm.bitreverse.*`, i believe, if scalar type is `i1`?


Yes. That one is probably rarer and might want slightly different constraints. I'll add a TODO for now.


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

https://reviews.llvm.org/D66965





More information about the llvm-commits mailing list