Revert r89437 and add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89446 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp
index 8f912c4..2b4b5ae 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -1278,7 +1278,8 @@
ExplodedNode* Pred,
const GRState* state, SVal location,
const void *tag, bool isLoad) {
- if (Checkers.empty()) {
+ // Early checks for performance reason.
+ if (location.isUnknown() || Checkers.empty()) {
Dst.Add(Pred);
return;
}