[llvm] 7433d8c - Follow up to 0e4b8b8f81c97, squash unused variable warning
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 9 12:02:55 PDT 2025
Author: Jeremy Morse
Date: 2025-06-09T20:02:04+01:00
New Revision: 7433d8ce5006bc01331e4ca6e8b1b825edfc5b4f
URL: https://github.com/llvm/llvm-project/commit/7433d8ce5006bc01331e4ca6e8b1b825edfc5b4f
DIFF: https://github.com/llvm/llvm-project/commit/7433d8ce5006bc01331e4ca6e8b1b825edfc5b4f.diff
LOG: Follow up to 0e4b8b8f81c97, squash unused variable warning
Added:
Modified:
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
index 26843ebc71666..eb528018aa386 100644
--- a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
+++ b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp
@@ -1124,7 +1124,6 @@ static void insertSpills(const FrameDataInfo &FrameData, coro::Shape &Shape) {
}
auto SalvageOne = [&](auto *DDI) {
- bool AllowUnresolved = false;
// This dbg.declare is preserved for all coro-split function
// fragments. It will be unreachable in the main function, and
// processed by coro::salvageDebugInfo() by the Cloner.
More information about the llvm-commits
mailing list