[mlir] Initial MLIR VP intrinsic integration test on host and RVV emulator.
authorzhanghb97 <hongbin2019@iscas.ac.cn>
Fri, 11 Nov 2022 08:01:05 +0000 (16:01 +0800)
committerzhanghb97 <hongbin2019@iscas.ac.cn>
Tue, 22 Nov 2022 09:30:24 +0000 (17:30 +0800)
commitee82b864f2086f944f046bd00b03f30697403f8a
treef7c313e5d2032fa43673b000526c841cd683c3f3
parentcaa9f63022d28cc38bfb85a11a84a6704f6aaa74
[mlir] Initial MLIR VP intrinsic integration test on host and RVV emulator.

This patch adds the initial VP intrinsic integration test on the host backend and RVV emulator. Please see more detailed [discussion on the discourse](https://discourse.llvm.org/t/mlir-vp-ops-on-rvv-backend-integration-test-and-issues-report/66343).

- Run the test cases on the host by configuring the CMake option: `-DMLIR_INCLUDE_INTEGRATION_TESTS=ON`
- Build the RVV environment and run the test cases on RVV QEMU by [this doc](https://gist.github.com/zhanghb97/ad44407e169de298911b8a4235e68497).

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D137816
mlir/test/Integration/Dialect/LLVMIR/CPU/lit.local.cfg
mlir/test/Integration/Dialect/LLVMIR/CPU/test-vp-intrinsic.mlir [new file with mode: 0644]
mlir/test/lit.site.cfg.py.in