This avoids 'used but not defined' warnings in Release builds
with GCC.
llvm-svn: 298760
// 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);