[all-commits] [llvm/llvm-project] c730c6: [mlir] Fix -Wctad-maybe-unsupported in MemRefUtils...

Jie Fu via All-commits all-commits at lists.llvm.org
Thu Aug 17 16:15:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c730c6271553d335b26a42d55f6ce4f59bff2a89
      https://github.com/llvm/llvm-project/commit/c730c6271553d335b26a42d55f6ce4f59bff2a89
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp

  Log Message:
  -----------
  [mlir] Fix -Wctad-maybe-unsupported in MemRefUtils.cpp (NFC)

/Users/jiefu/llvm-project/mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp:56:3: error: 'SmallVector' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
  SmallVector indicesVec = llvm::to_vector(indices);
  ^
/Users/jiefu/llvm-project/mlir/include/mlir/Support/LLVM.h:69:7: note: add a deduction guide to suppress this warning
class SmallVector;
      ^
1 error generated.




More information about the All-commits mailing list