[all-commits] [llvm/llvm-project] d8b6df: [mlir] Fix -Wunused-result in ElementwiseOpFusion....

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Tue Aug 20 18:05:46 PDT 2024


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

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp

  Log Message:
  -----------
  [mlir] Fix -Wunused-result in ElementwiseOpFusion.cpp (NFC)

/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp:124:7:
error: ignoring return value of function declared with 'nodiscard' attribute [-Werror,-Wunused-result]
      opOperandsToIgnore.pop_back_val();
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.



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