[mlir][NFC] Set `useFoldAPI` to `kEmitRawAttributesFolder` value for some dialects...
authorMarkus Böck <markus.boeck02@gmail.com>
Sun, 15 Jan 2023 13:52:05 +0000 (14:52 +0100)
committerMarkus Böck <markus.boeck02@gmail.com>
Mon, 16 Jan 2023 10:48:30 +0000 (11:48 +0100)
commit355c547908aaac613e5615e91aeb37676e2f5129
tree3dfdc4c597870aa7ef8afce7cc32fafa0f454b4d
parent28de5f99bbe10d8982500abf5df24a80ab1bae79
[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
mlir/examples/toy/Ch2/include/toy/Ops.td
mlir/examples/toy/Ch3/include/toy/Ops.td
mlir/examples/toy/Ch4/include/toy/Ops.td
mlir/examples/toy/Ch5/include/toy/Ops.td
mlir/examples/toy/Ch6/include/toy/Ops.td
mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
mlir/test/python/python_test_ops.td