[PATCH] D121662: [WIP][WebAssembly] Add end-to-end codegen tests for wasm_simd128.h

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 20:48:23 PDT 2022


tlively created this revision.
Herald added subscribers: wingo, ecnelises, sunfish, jgravelle-google, sbc100, mgorny.
Herald added a project: All.
tlively requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 <https://reviews.llvm.org/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.

Depends on D121661 <https://reviews.llvm.org/D121661>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121662

Files:
  cross-project-tests/CMakeLists.txt
  cross-project-tests/intrinsic-header-tests/README.txt
  cross-project-tests/intrinsic-header-tests/lit.local.cfg
  cross-project-tests/intrinsic-header-tests/wasm_simd128.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121662.415308.patch
Type: text/x-patch
Size: 43591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/c92a333f/attachment.bin>


More information about the llvm-commits mailing list