From a9e0e1dc75866b19ae9dbc31a69bbd0d5a8bae4a Mon Sep 17 00:00:00 2001 From: ksyx <18738953+ksyx@users.noreply.github.com> Date: Wed, 17 Feb 2021 16:43:34 +0800 Subject: [PATCH] [GVN] Fix a typo in comment NFC. Differential Revision: https://reviews.llvm.org/D97200 Reviewed By: fhahn --- lib/Transforms/Scalar/GVN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 37fce501a23..85ce8fc4a89 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/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);