[PATCH] D114499: [GlobalISel] Fold or of shifts to funnel shifts.

Abinav Puthan Purayil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 3 02:39:40 PST 2022


abinavpp added a comment.

> In D114499#3153099 <https://reviews.llvm.org/D114499#3153099>, @foad wrote:
>
>> And would it be worth adding support for constant shift amounts like `(or (shl x, 20), (lshr x, 12))`?
>
> Yes, we need to extend the pattern match.

D116529 <https://reviews.llvm.org/D116529>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114499



More information about the llvm-commits mailing list