[all-commits] [llvm/llvm-project] c32c8f: [mlir] Use getOperation()->setAttr when generating...

River Riddle via All-commits all-commits at lists.llvm.org
Thu Feb 20 20:10:36 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c32c8fd1437c69f90f48c91c7545a53d33d6ba20
      https://github.com/llvm/llvm-project/commit/c32c8fd1437c69f90f48c91c7545a53d33d6ba20
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir] Use getOperation()->setAttr when generating attribute set
methods.

This avoids the need to resolve overloads when the current operation
also defines a 'setAttr' method.




More information about the All-commits mailing list