[all-commits] [llvm/llvm-project] 7cf2f6: [Vectorize] Fix unused variable warnings (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Feb 28 17:41:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cf2f602df40e619adef7259dac5cc50434e8769
      https://github.com/llvm/llvm-project/commit/7cf2f602df40e619adef7259dac5cc50434e8769
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2025-03-01 (Sat, 01 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/TransactionAcceptOrRevert.cpp

  Log Message:
  -----------
  [Vectorize] Fix unused variable warnings (NFC)

/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/TransactionAcceptOrRevert.cpp:24:8: error: unused variable 'CostBefore' [-Werror,-Wunused-variable]
  auto CostBefore = SB.getBeforeCost();
       ^
/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/TransactionAcceptOrRevert.cpp:25:8: error: unused variable 'CostAfter' [-Werror,-Wunused-variable]
  auto CostAfter = SB.getAfterCost();
       ^
2 errors 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