diff options
| author | Markus Böck <markus.boeck02@gmail.com> | 2023-01-15 14:52:05 +0100 |
|---|---|---|
| committer | Markus Böck <markus.boeck02@gmail.com> | 2023-01-16 11:48:30 +0100 |
| commit | 355c547908aaac613e5615e91aeb37676e2f5129 (patch) | |
| tree | 3dfdc4c597870aa7ef8afce7cc32fafa0f454b4d /mlir/test/python/python_test_ops.td | |
| parent | 28de5f99bbe10d8982500abf5df24a80ab1bae79 (diff) | |
[mlir][NFC] Set `useFoldAPI` to `kEmitRawAttributesFolder` value for some dialects missed previously
Found these while working on https://reviews.llvm.org/D141604. These were previously not found due to the old implementation only emitting warnings if an Op has a `fold`.
Changing these values both avoid the deprecation warning and if new `fold`s were added to ops of these dialects, that they are already using the new API.
Differential Revision: https://reviews.llvm.org/D141795
Diffstat (limited to 'mlir/test/python/python_test_ops.td')
| -rw-r--r-- | mlir/test/python/python_test_ops.td | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mlir/test/python/python_test_ops.td b/mlir/test/python/python_test_ops.td index 0c63620251c0..133568bbf1a0 100644 --- a/mlir/test/python/python_test_ops.td +++ b/mlir/test/python/python_test_ops.td @@ -20,6 +20,7 @@ def Python_Test_Dialect : Dialect { let useDefaultTypePrinterParser = 1; let useDefaultAttributePrinterParser = 1; + let useFoldAPI = kEmitFoldAdaptorFolder; } class TestType<string name, string typeMnemonic> |
