[NFC] Remove variable that was set but not used.
authorStefan Pintilie <stefanp@ca.ibm.com>
Wed, 2 Jun 2021 18:16:15 +0000 (13:16 -0500)
committerStefan Pintilie <stefanp@ca.ibm.com>
Wed, 2 Jun 2021 18:20:32 +0000 (13:20 -0500)
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

index f00bc10..2efbc6f 100644 (file)
@@ -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;