[all-commits] [llvm/llvm-project] 46776f: Fix warnings about variables that are set but only...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Wed Apr 6 00:02:23 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 46776f7556a337ebf210b1cac838bca2aaa15351
https://github.com/llvm/llvm-project/commit/46776f7556a337ebf210b1cac838bca2aaa15351
Author: Martin Storsjö <martin at martin.st>
Date: 2022-04-06 (Wed, 06 Apr 2022)
Changed paths:
M lld/wasm/InputFiles.cpp
M lld/wasm/SyntheticSections.cpp
M llvm/lib/Analysis/LoopInfo.cpp
M llvm/lib/CodeGen/MIRFSDiscriminator.cpp
M llvm/lib/CodeGen/RegAllocPBQP.cpp
M llvm/lib/CodeGen/StackColoring.cpp
M llvm/lib/Target/AArch64/AArch64A53Fix835769.cpp
M llvm/lib/Target/X86/X86FastTileConfig.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/GVN.cpp
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/lib/Transforms/Utils/SimplifyIndVar.cpp
M llvm/tools/llvm-tli-checker/llvm-tli-checker.cpp
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/DFAEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/RegisterInfoEmitter.cpp
Log Message:
-----------
Fix warnings about variables that are set but only used in debug mode
Add void casts to mark the variables used, next to the places where
they are used in assert or `LLVM_DEBUG()` expressions.
Differential Revision: https://reviews.llvm.org/D123117
More information about the All-commits
mailing list