[PATCH] D102521: [RISCV] Optimize SEW=64 shifts by splat on RV32.

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 07:52:31 PDT 2021


frasercrmck added a comment.

I probably don't have the full picture here, but I was wondering if there was a generic "simplify demanded bits" we could hook this node into, since presumably LLVM already knows that only those bits of the shift are used. Does `SimplifyDemandedBitsForTargetNode` not apply here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102521



More information about the llvm-commits mailing list