[all-commits] [llvm/llvm-project] ecba7c: [mlir] Rename FunctionOpInterface::getBody to getF...

River Riddle via All-commits all-commits at lists.llvm.org
Mon Oct 3 12:00:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecba7c58bd69c18d8127676737040a4d8f25fc83
      https://github.com/llvm/llvm-project/commit/ecba7c58bd69c18d8127676737040a4d8f25fc83
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-10-03 (Mon, 03 Oct 2022)

  Changed paths:
    M mlir/include/mlir/IR/FunctionInterfaces.td
    M mlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/lib/IR/TestMatchers.cpp
    M mlir/test/lib/Pass/TestPassManager.cpp

  Log Message:
  -----------
  [mlir] Rename FunctionOpInterface::getBody to getFunctionBody

This is much more explicit, and prevents annoying conflicts with op
specific accessors (which may have a different contract). This is similar
to the past rename of getType -> getFunctionType,

Fixes #58030

Differential Revision: https://reviews.llvm.org/D135007




More information about the All-commits mailing list