aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index c664546..a8b4905 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -1138,7 +1138,7 @@ bool GVN::runOnFunction(Function& F) {
if (EnablePRE) {
bool PREChanged = false;
- while (PREChanged = performPRE(F))
+ while ((PREChanged = performPRE(F)))
changed |= PREChanged;
}