[all-commits] [llvm/llvm-project] 355c54: [mlir][NFC] Set `useFoldAPI` to `kEmitRawAttribute...

zero9178 via All-commits all-commits at lists.llvm.org
Mon Jan 16 02:48:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 355c547908aaac613e5615e91aeb37676e2f5129
      https://github.com/llvm/llvm-project/commit/355c547908aaac613e5615e91aeb37676e2f5129
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    M mlir/examples/toy/Ch2/include/toy/Ops.td
    M mlir/examples/toy/Ch3/include/toy/Ops.td
    M mlir/examples/toy/Ch4/include/toy/Ops.td
    M mlir/examples/toy/Ch5/include/toy/Ops.td
    M mlir/examples/toy/Ch6/include/toy/Ops.td
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
    M mlir/test/python/python_test_ops.td

  Log Message:
  -----------
  [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




More information about the All-commits mailing list