[PATCH] D158399: [WebAssembly] Optimize vector shift using a splat value from outside block

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 13:02:49 PDT 2023


craig.topper added a comment.

Could this use the `TargetLowering::shouldSinkOperands` hook to get CodeGenPrepare to move the splat into the loop. ARM, X86, and RISC-V all do that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158399



More information about the llvm-commits mailing list