Update add_ops to mention llvm-project/mlir/utils/generate-test-checks.py (#2862)

pull/2867/head
Xida Ren (Cedar) 2024-02-05 15:13:43 -05:00 committed by GitHub
parent f4562a8eaa
commit b3a56c0711
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,11 @@ Helpful examples:
- [A Dec 2023 example where an ONNX op is implemented](https://github.com/llvm/torch-mlir/pull/2641/files#diff-b584b152020af6d2e5dbf62a08b2f25ed5afc2c299228383b9651d22d44b5af4R493) - [A Dec 2023 example where an ONNX op is implemented](https://github.com/llvm/torch-mlir/pull/2641/files#diff-b584b152020af6d2e5dbf62a08b2f25ed5afc2c299228383b9651d22d44b5af4R493)
- [Vivek's example of ONNX op lowering](https://github.com/llvm/torch-mlir/commit/dc9ea08db5ac295b4b3f91fc776fef6a702900b9) - [Vivek's example of ONNX op lowering](https://github.com/llvm/torch-mlir/commit/dc9ea08db5ac295b4b3f91fc776fef6a702900b9)
## List of Tools you may need to use (this will be incorporated into the above instructions later)
- Generate FILECHECK tests from MLIR test cases: `torch-mlir-opt -convert-<your conversion> /tmp/your_awesome_testcase.mlir | externals/llvm-project/mlir/utils/generate-test-checks.py
`. Please don't just paste the generated tests - reference them to write your own
## Contacts ## Contacts
People who've worked on this for a while People who've worked on this for a while
- Vivek (@vivek97 on discord) - Vivek (@vivek97 on discord)