This avoids 'used but not defined' warnings in Release builds
with GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298760
91177308-0d34-0410-b5e6-
96231b3b80d8
// subject to very rare false negatives. It is only useful for
// testing/debugging.
void NewGVN::verifyMemoryCongruency() const {
+#ifndef NDEBUG
// Anything equivalent in the memory access table should be in the same
// congruence class.
"All MemoryPhi arguments should be in the same class");
}
}
+#endif
}
// Verify that the sparse propagation we did actually found the maximal fixpoint
initializeCongruenceClasses(F);
iterateTouchedInstructions();
-#ifndef NDEBUG
verifyMemoryCongruency();
verifyIterationSettled(F);
-#endif
Changed |= eliminateInstructions(F);