diff options
| author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2022-01-29 14:30:57 -0800 |
|---|---|---|
| committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2022-01-31 11:04:00 -0800 |
| commit | 697a5036cd9bdf9d12978e082e38ac75f0eb108e (patch) | |
| tree | 6d13f032eefa551813f9cc9369db40b6aad65ae2 /mlir/test/python/python_test_ops.td | |
| parent | 1adfbfcf39f95106861ebe8a7b4245acb0bc6e69 (diff) | |
Remove OpTrait, AttrTrait and TypeTrait
- Remove the `{Op,Attr,Type}Trait` TableGen classes and replace with `Trait`
- Rename `OpTraitList` to `TraitList` and use it in a few places
The bulk of this change is a mechanical s/OpTrait/Trait/ throughout the codebase.
Reviewed By: rriddle, jpienaar, herhut
Differential Revision: https://reviews.llvm.org/D118543
Diffstat (limited to 'mlir/test/python/python_test_ops.td')
| -rw-r--r-- | mlir/test/python/python_test_ops.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/python/python_test_ops.td b/mlir/test/python/python_test_ops.td index a274ffae6983..67a0b95b05b6 100644 --- a/mlir/test/python/python_test_ops.td +++ b/mlir/test/python/python_test_ops.td @@ -28,7 +28,7 @@ class TestAttr<string name, string attrMnemonic> let mnemonic = attrMnemonic; } -class TestOp<string mnemonic, list<OpTrait> traits = []> +class TestOp<string mnemonic, list<Trait> traits = []> : Op<Python_Test_Dialect, mnemonic, traits>; //===----------------------------------------------------------------------===// |
