[llvm] r340995 - [MemorySSA] Silence warning.
Alina Sbirlea via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 29 16:20:29 PDT 2018
Author: asbirlea
Date: Wed Aug 29 16:20:29 2018
New Revision: 340995
URL: http://llvm.org/viewvc/llvm-project?rev=340995&view=rev
Log:
[MemorySSA] Silence warning.
Modified:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=340995&r1=340994&r2=340995&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Wed Aug 29 16:20:29 2018
@@ -441,6 +441,7 @@ checkClobberSanity(const MemoryAccess *S
}
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;
More information about the llvm-commits
mailing list