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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 25 01:15:12 PST 2021


foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.

LGTM. But why doesn't it already work on vectors? And would it be worth adding support for constant shift amounts like `(or (shl x, 20), (lshr x, 12))`?


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