[PATCH] D151782: Improve WebAssembly vector bitmask, mask reduction, and extending

Caleb Zulawski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 30 23:04:06 PDT 2023


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

This is inspired by a recently filed Rust issue noting poor codegen for vector masks (https://github.com/rust-lang/portable-simd/issues/351).  I'm new to wasm, so I simply followed the reported issue and the wasm spec.

I'm not sure who to add to review this, so feel free to add others or remove yourself.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151782

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
  llvm/test/CodeGen/WebAssembly/simd-bitmask.ll
  llvm/test/CodeGen/WebAssembly/simd-extending-convert.ll
  llvm/test/CodeGen/WebAssembly/simd-extending.ll
  llvm/test/CodeGen/WebAssembly/simd-offset.ll
  llvm/test/CodeGen/WebAssembly/simd-vecreduce-bool.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151782.526912.patch
Type: text/x-patch
Size: 40252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230531/592a5993/attachment-0001.bin>


More information about the llvm-commits mailing list