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

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 24 07:31:12 PST 2021


foad added a comment.

> (or (shl x, amt), (lshr y, sub(bw, amt)) -> fshl(x, y)
> (or (shl x, sub(bw, amt), (lshr y, amt)) -> fshr(x, y)

Funnel shifts take three arguments "x, y, amt".


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