[all-commits] [llvm/llvm-project] 610396: [mlir][ods] Allow null to be passed as default-val...

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Mar 29 09:55:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 610396e481fdef382225cb729b2861ff535bdc98
      https://github.com/llvm/llvm-project/commit/610396e481fdef382225cb729b2861ff535bdc98
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

  Changed paths:
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir][ods] Allow null to be passed as default-valued attributes

Allow default-valued attributes to be passed as null to builders, which will not add the attribute if not present, so the default value will be returned by getters.




More information about the All-commits mailing list