mirror of https://github.com/llvm/torch-mlir
dad1f012f6
- adds support for an optional verifier to the generated torch op tablegen (GeneratedTorchOps.td) - uses the above to add a verifier for the torch permute op. Motivation: I hit an unclear error from linalg while developing a decomposition pass for pixel_shuffle. The error would have been clearer if the problem had been detected earlier in the invalid aten.permute op. Testing: new tests added. To run added tests, from the base directory run ``` ./build/bin/llvm-lit test/Dialect/Torch/invalid.mlir ``` |
||
---|---|---|
.. | ||
e2e_testing | ||
examples | ||
python | ||
test | ||
tools | ||
CMakeLists.txt |