summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-01-30 21:13:22 +0000
committerChad Rosier <mcrosier@apple.com>2012-01-30 21:13:22 +0000
commit431985a421bf2b4327322f256e9cf74df1239c7b (patch)
tree6273422b787773f3ae104b70740fa70dfdf71e51
parent448b73a95ca9be6409907b96402f1606cd87d80c (diff)
downloadexternal_llvm-431985a421bf2b4327322f256e9cf74df1239c7b.zip
external_llvm-431985a421bf2b4327322f256e9cf74df1239c7b.tar.gz
external_llvm-431985a421bf2b4327322f256e9cf74df1239c7b.tar.bz2
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149275 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index 374fdd7..2153182 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -977,7 +977,7 @@ static Value *GetStoreValueForLoad(Value *SrcVal, unsigned Offset,
return CoerceAvailableValueToLoadType(SrcVal, LoadTy, InsertPt, TD);
}
-/// GetStoreValueForLoad - This function is called when we have a
+/// GetLoadValueForLoad - This function is called when we have a
/// memdep query of a load that ends up being a clobbering load. This means
/// that the load *may* provide bits used by the load but we can't be sure
/// because the pointers don't mustalias. Check this case to see if there is