[MemorySSA] Silence warning.
authorAlina Sbirlea <asbirlea@google.com>
Wed, 29 Aug 2018 23:20:29 +0000 (23:20 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Wed, 29 Aug 2018 23:20:29 +0000 (23:20 +0000)
llvm-svn: 340995

llvm/lib/Analysis/MemorySSA.cpp

index ee702fd..2d42624 100644 (file)
@@ -441,6 +441,7 @@ checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt,
       }
 
       if (const auto *MU = dyn_cast<MemoryUse>(MA)) {
+        (void)MU;
         assert (MU == Start &&
                 "Can only find use in def chain if Start is a use");
         continue;