torch-mlir/test/python
Ashay Rane a9e1014fc7
python: add `CHECK-LABEL` statements to localize checks (#1363)
It seems as though an upstream change in PyTorch has caused the module
dump to include not just the module being tested, but also several
seemingly unrelated functions in the `torch._decom.decompositions`
namespace.  The presence of these new functions caused lit to match
variables against incorrect statements (i.e.  statements in the
unrelated functions instead of the module under test).

This patch inserts `CHECK-LABEL` statements in the failing tests so that
lit ignores these unrelated functions and only checks the statements at
or after the test module definition.
2022-09-13 15:44:13 -05:00
..
importer/jit_ir python: add `CHECK-LABEL` statements to localize checks (#1363) 2022-09-13 15:44:13 -05:00
lit.local.cfg Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
smoketest.py Revert "python: trim registration and loading of dialects and passes" (#1093) 2022-07-21 09:35:42 -07:00