[all-commits] [llvm/llvm-project] fcb590: [MLIR][TableGen] Minor code cleanup in DirectiveCo...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Sep 30 10:11:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fcb5905ea440bbf6ed42d54972074f24e2708e10
      https://github.com/llvm/llvm-project/commit/fcb5905ea440bbf6ed42d54972074f24e2708e10
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/utils/TableGen/DirectiveEmitter.cpp
    M mlir/test/mlir-tblgen/directive-common.td
    M mlir/tools/mlir-tblgen/DirectiveCommonGen.cpp

  Log Message:
  -----------
  [MLIR][TableGen] Minor code cleanup in DirectiveCommonGen (#110290)

Directly Use Clause/ClauseVal as loop iterator.
Use llvm::transform instead of std::transform.
Use interleaveComma() to generate comma separated list.



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