From 394fd0adc91ac081d2a04170262b8d8391afb3a2 Mon Sep 17 00:00:00 2001 From: Alina Sbirlea Date: Wed, 29 Aug 2018 23:20:29 +0000 Subject: [PATCH] [MemorySSA] Silence warning. llvm-svn: 340995 --- lib/Analysis/MemorySSA.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Analysis/MemorySSA.cpp b/lib/Analysis/MemorySSA.cpp index ee702fd3c5d..2d42624c805 100644 --- a/lib/Analysis/MemorySSA.cpp +++ b/lib/Analysis/MemorySSA.cpp @@ -441,6 +441,7 @@ checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt, } if (const auto *MU = dyn_cast(MA)) { + (void)MU; assert (MU == Start && "Can only find use in def chain if Start is a use"); continue;