[PATCH] D100018: [WebAssembly] Add shuffles as an option for lowering BUILD_VECTOR

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 7 17:10:40 PDT 2021


dschuff added inline comments.


================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp:1693
+      AddCount(ShuffleCounts, ShuffleSrc);
+    if (CanSwizzle) {
       auto SwizzleSrcs = GetSwizzleSrcs(I, Lane);
----------------
Unrelated to this CL but what exactly is the difference between a swizzle and a shuffle?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100018



More information about the llvm-commits mailing list