[all-commits] [llvm/llvm-project] a643e4: [bazel] Replace gentbl with gentbl_cc_library (#12...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Jan 30 09:00:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a643e449749332e974ce14b12cf3cb270dbf1b1f
      https://github.com/llvm/llvm-project/commit/a643e449749332e974ce14b12cf3cb270dbf1b1f
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [bazel] Replace gentbl with gentbl_cc_library (#124996)

LLVM has two tablegen generators: one in llvm/tblgen.bzl (`gentbl`,
macro-based) and one in mlir/tblgen.bzl (`gentbl_cc_library`,
rule-based). The `gentbl_cc_library` generator in MLIR has some
advantages to being a rule, and at any rate, it seems better to just use
the same tablegen rule everywhere instead of competing implementations.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list