[all-commits] [llvm/llvm-project] 1c8c2f: [mlir] Fix -Wdeprecated-declarations in BufferResu...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue May 7 19:39:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c8c2fdd289075d6ef448f60db9dd30caf7f78df
      https://github.com/llvm/llvm-project/commit/1c8c2fdd289075d6ef448f60db9dd30caf7f78df
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-05-08 (Wed, 08 May 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp

  Log Message:
  -----------
  [mlir] Fix -Wdeprecated-declarations in BufferResultsToOutParams.cpp (NFC)

/llvm-project/mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp:124:26:
error: 'cast' is deprecated: Use mlir::cast<U>() instead [-Werror,-Wdeprecated-declarations]
  124 |           orig.getType().cast<MemRefType>().hasStaticShape()) {
      |



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