[all-commits] [llvm/llvm-project] 72c628: Reland "[WebAssembly] Emulate v128.const efficient...

Thomas Lively via All-commits all-commits at lists.llvm.org
Mon Oct 12 21:37:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72c628e83580625ebd9e8521bab03abec4569d14
      https://github.com/llvm/llvm-project/commit/72c628e83580625ebd9e8521bab03abec4569d14
  Author: Thomas Lively <tlively at google.com>
  Date:   2020-10-13 (Tue, 13 Oct 2020)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
    M llvm/test/CodeGen/WebAssembly/simd-build-vector.ll

  Log Message:
  -----------
  Reland "[WebAssembly] Emulate v128.const efficiently""

This reverts commit 432e4e56d3d2, which reverted 542523a61a21. Two issues from
the original commit have been fixed. First, MSVC does not like when std::array
is initialized with only single braces, so this commit switches to using the
more portable double braces. Second, there was a subtle endianness bug that
prevented the original commit from working correctly on big-endian machines,
which has been fixed by switching to using endianness-agnostic bit twiddling
instead of type punning.

Differential Revision: https://reviews.llvm.org/D88773




More information about the All-commits mailing list