From 1ed2e9b9a02f9cde9108233c045edde0d5893f34 Mon Sep 17 00:00:00 2001 From: Stefan Pintilie Date: Wed, 2 Jun 2021 13:16:15 -0500 Subject: [PATCH] [NFC] Remove variable that was set but not used. The buildbot ppc64le-lld-multistage-test has been failing because the variable Tag in Waymaking.h is set but not used. This patch removes that varaible. --- llvm/include/llvm/ADT/Waymarking.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/include/llvm/ADT/Waymarking.h b/llvm/include/llvm/ADT/Waymarking.h index f00bc106..2efbc6f 100644 --- a/llvm/include/llvm/ADT/Waymarking.h +++ b/llvm/include/llvm/ADT/Waymarking.h @@ -249,11 +249,8 @@ void fillWaymarks(TIter Begin, TIter End, size_t Offset = 0) { do { ++Off; - unsigned Tag = Count & Marker::Traits::MARK_MASK; - // If the count can fit into the tag, then the counting must stop. if (Count <= Marker::Traits::MARK_MASK) { - Tag |= Marker::Traits::STOP_MASK; Count = Off; } else Count >>= Marker::Traits::MARK_SIZE; -- 2.7.4