diff options
author | Fanchen Kong <fanchen.kong@intel.com> | 2022-09-13 16:03:18 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2022-09-13 16:03:18 -0700 |
commit | 28557e8c9872a31a29cf0aca19e9d036caf7eff4 (patch) | |
tree | c9e42341f96a0f83ad8cb91df45beb91fa5ac40b /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | b340c5ae4221a9752712621cd1df06cbc6dfd50b (diff) | |
download | llvm-28557e8c9872a31a29cf0aca19e9d036caf7eff4.zip llvm-28557e8c9872a31a29cf0aca19e9d036caf7eff4.tar.gz llvm-28557e8c9872a31a29cf0aca19e9d036caf7eff4.tar.bz2 |
[WebAssembly] Improve codegen for shuffles with undefined lane indices
For undefined lane indices, fill the mask with {0..N} instead of zeros to allow
further reduction to word/dword shuffle on the VM.
Reviewed By: tlively, penzn
Differential Revision: https://reviews.llvm.org/D133473
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions