[llvm] 34683c3 - [MSSA] Fix expensive checks build
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 31 22:29:03 PDT 2022
Author: Nikita Popov
Date: 2022-08-01T07:28:52+02:00
New Revision: 34683c3e35bcf02e5325e03e2eba1aa8646a12c7
URL: https://github.com/llvm/llvm-project/commit/34683c3e35bcf02e5325e03e2eba1aa8646a12c7
DIFF: https://github.com/llvm/llvm-project/commit/34683c3e35bcf02e5325e03e2eba1aa8646a12c7.diff
LOG: [MSSA] Fix expensive checks build
Added:
Modified:
llvm/lib/Analysis/MemorySSA.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/MemorySSA.cpp b/llvm/lib/Analysis/MemorySSA.cpp
index d2466cffc3f7..30e85dce77b0 100644
--- a/llvm/lib/Analysis/MemorySSA.cpp
+++ b/llvm/lib/Analysis/MemorySSA.cpp
@@ -450,8 +450,7 @@ checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt,
if (MD == Start)
continue;
- assert(!instructionClobbersQuery(MD, MAP.second, Query.Inst, AA)
- .IsClobber &&
+ assert(!instructionClobbersQuery(MD, MAP.second, Query.Inst, AA) &&
"Found clobber before reaching ClobberAt!");
continue;
}
More information about the llvm-commits
mailing list