[llvm] fe37d9e - [GVN] fix comment/argument name to match actual implementation. NFC
Fedor Sergeev via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 14 13:00:11 PST 2020
Author: Fedor Sergeev
Date: 2020-01-15T03:58:04+07:00
New Revision: fe37d9ecaabda4f9948f35bb20c1a13687a7eaca
URL: https://github.com/llvm/llvm-project/commit/fe37d9ecaabda4f9948f35bb20c1a13687a7eaca
DIFF: https://github.com/llvm/llvm-project/commit/fe37d9ecaabda4f9948f35bb20c1a13687a7eaca.diff
LOG: [GVN] fix comment/argument name to match actual implementation. NFC
Added:
Modified:
llvm/include/llvm/Transforms/Scalar/GVN.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar/GVN.h b/llvm/include/llvm/Transforms/Scalar/GVN.h
index 930969f9121f..5a3d30de16a3 100644
--- a/llvm/include/llvm/Transforms/Scalar/GVN.h
+++ b/llvm/include/llvm/Transforms/Scalar/GVN.h
@@ -294,8 +294,8 @@ class GVN : public PassInfoMixin<GVN> {
};
/// Create a legacy GVN pass. This also allows parameterizing whether or not
-/// loads are eliminated by the pass.
-FunctionPass *createGVNPass(bool NoLoads = false);
+/// MemDep is enabled.
+FunctionPass *createGVNPass(bool NoMemDepAnalysis = false);
/// A simple and fast domtree-based GVN pass to hoist common expressions
/// from sibling branches.
More information about the llvm-commits
mailing list