[all-commits] [llvm/llvm-project] ac3ee1: [Transforms] Fix -Wunused-variable and remove redu...
Jie Fu (傅杰) via All-commits
all-commits at lists.llvm.org
Mon Jan 22 06:56:09 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ac3ee1b1aec424c60660fd245f5b53aaffa2f5b1
https://github.com/llvm/llvm-project/commit/ac3ee1b1aec424c60660fd245f5b53aaffa2f5b1
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Log Message:
-----------
[Transforms] Fix -Wunused-variable and remove redundant VerifyStates after #75826 (NFC)
llvm-project/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:1064:18: error: unused variable 'I' [-Werror,-Wunused-variable]
Instruction *I = cast<Instruction>(Pair.first);
^
llvm-project/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp:1066:11: error: unused variable 'BaseValue' [-Werror,-Wunused-variable]
auto *BaseValue = State.getBaseValue();
^
2 errors generated.
More information about the All-commits
mailing list