[llvm] suppresses unused variable warning (PR #99526)
Jorge Gorbe Moya via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 09:57:36 PDT 2024
================
@@ -3362,6 +3362,7 @@ void InstrRefBasedLDV::buildVLocValueMap(
if (BlockLiveIn->Kind == DbgValue::VPHI)
BlockLiveIn->Kind = DbgValue::Def;
auto &[Var, DILoc] = DVMap.lookupDVID(VarID);
----------------
slackito wrote:
`Var` will also be unused in a no-asserts build, right?
https://github.com/llvm/llvm-project/pull/99526
More information about the llvm-commits
mailing list