[all-commits] [llvm/llvm-project] 9571a2: [WebAssembly] Add tests ensuring rotates persist

Paulo Matos via All-commits all-commits at lists.llvm.org
Mon Jun 5 22:49:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9571a28ee4e801a7796569d62fe037fc22cd65a4
      https://github.com/llvm/llvm-project/commit/9571a28ee4e801a7796569d62fe037fc22cd65a4
  Author: Paulo Matos <pmatos at igalia.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    A clang/test/CodeGen/WebAssembly/wasm-rotate.c
    A llvm/test/CodeGen/WebAssembly/rotate-i3264.ll

  Log Message:
  -----------
  [WebAssembly] Add tests ensuring rotates persist

Due to the nature of WebAssembly, it's always better to keep
rotates instead of trying to optimize it. Commit 9485d983
disabled the generation of fsh for rotates, however these
tests ensure that future changes don't change the behaviour for
the Wasm backend that tends to have different optimization
requirements than other architectures. Also see:
https://github.com/llvm/llvm-project/issues/62703

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




More information about the All-commits mailing list