Skip to content

Commit

Permalink
Update add_ops to mention llvm-project/mlir/utils/generate-test-check…
Browse files Browse the repository at this point in the history
…s.py (llvm#2862)
  • Loading branch information
renxida authored Feb 5, 2024
1 parent f4562a8 commit b3a56c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/add_ops.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
- [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
People who've worked on this for a while
- Vivek (@vivek97 on discord)
Expand Down

0 comments on commit b3a56c0

Please sign in to comment.