[all-commits] [llvm/llvm-project] 9748f9: [mlir][transform] Make variable names in interpret...

Ingo Müller via All-commits all-commits at lists.llvm.org
Wed Oct 4 00:54:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9748f981161573648ac24ca9541f9ab08cbc9c15
      https://github.com/llvm/llvm-project/commit/9748f981161573648ac24ca9541f9ab08cbc9c15
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

  Changed paths:
    M mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp

  Log Message:
  -----------
  [mlir][transform] Make variable names in interpreter consistent. (NFC) (#67800)

This commit renames the arguments of several static implementation
functions of the transform interpreter base class to match the names of
the corresponding member variables in order to clarify their intent.
Similarly, it renames some local variables to reflect their relationship
with corresponding member variables. Finally, this commit also asserts
in `interpreterBaseRunOnOperationImpl` that at most one of shared and
library module are set (which the initialization function guarantees)
and simplifies some related `if` conditions.




More information about the All-commits mailing list