[all-commits] [llvm/llvm-project] 706209: [WebAssembly] Add end-to-end codegen tests for was...

Thomas Lively via All-commits all-commits at lists.llvm.org
Thu Mar 17 15:22:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7062094bbc68d31218fe2e733124fdc2977f50af
      https://github.com/llvm/llvm-project/commit/7062094bbc68d31218fe2e733124fdc2977f50af
  Author: Thomas Lively <tlively at google.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M cross-project-tests/CMakeLists.txt
    A cross-project-tests/intrinsic-header-tests/README.txt
    A cross-project-tests/intrinsic-header-tests/lit.local.cfg
    A cross-project-tests/intrinsic-header-tests/wasm_simd128.c
    M cross-project-tests/lit.cfg.py

  Log Message:
  -----------
  [WebAssembly] Add end-to-end codegen tests for wasm_simd128.h

Add a test checking that each SIMD intrinsic produces the expected instruction.
Since this test spans both clang and LLVM, place it in a new
intrinsic-header-tests subdirectory of cross-project-tests.

This revives D101684 now that cross-project-tests exists. In practice, the tests
of lowering from wasm_simd128.h to LLVM IR were not as useful as this end-to-end
test.

Updates the version check of gdb in cross-project-tests/lit.cfg.py so that
unexpected version formats do not prevent the new tests from running.

Depends on D121661.

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




More information about the All-commits mailing list