[llvm] 4125cab - [GVN] Fix a typo in comment
via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 18:39:55 PST 2021
Author: ksyx
Date: 2021-02-23T10:39:34+08:00
New Revision: 4125cabce1374209843393d1e9474efea58cbeaf
URL: https://github.com/llvm/llvm-project/commit/4125cabce1374209843393d1e9474efea58cbeaf
DIFF: https://github.com/llvm/llvm-project/commit/4125cabce1374209843393d1e9474efea58cbeaf.diff
LOG: [GVN] Fix a typo in comment
NFC.
Differential Revision: https://reviews.llvm.org/D97200
Reviewed By: fhahn
Added:
Modified:
llvm/lib/Transforms/Scalar/GVN.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp
index 37fce501a23e..85ce8fc4a890 100644
--- a/llvm/lib/Transforms/Scalar/GVN.cpp
+++ b/llvm/lib/Transforms/Scalar/GVN.cpp
@@ -1774,7 +1774,7 @@ bool GVN::processLoad(LoadInst *L) {
MSSAU->removeMemoryAccess(L);
++NumGVNLoad;
reportLoadElim(L, AvailableValue, ORE);
- // Tell MDA to rexamine the reused pointer since we might have more
+ // Tell MDA to reexamine the reused pointer since we might have more
// information after forwarding it.
if (MD && AvailableValue->getType()->isPtrOrPtrVectorTy())
MD->invalidateCachedPointerInfo(AvailableValue);
More information about the llvm-commits
mailing list