[PATCH] D108341: [WebAssembly] More convert_low and promote_low codegen

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 18 16:32:14 PDT 2021


tlively created this revision.
tlively added reviewers: aheejin, dschuff.
Herald added subscribers: wingo, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100.
tlively requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The convert_low and promote_low instructions can widen the lower two lanes of a
four-lane vector, but we were previously scalarizing patterns that widened lanes
besides the low two lanes. The commit adds a shuffle to move the widened lanes
into the low lane positions so the convert_low and promote_low instructions can
be used instead of scalarizing.

Depends on D108266 <https://reviews.llvm.org/D108266>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108341

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/test/CodeGen/WebAssembly/simd-conversions.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108341.367354.patch
Type: text/x-patch
Size: 6070 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/abc66c63/attachment.bin>


More information about the llvm-commits mailing list