aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-28 01:08:00 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-09-28 01:08:00 +0000
commit5200fdf077308ca1ca57c48288713e1285429744 (patch)
treea05cde9de4a66085cf8b6e40558be7d72a4d4246
parent0932c004a965411a94277e1cfc61cdf67f1ae54b (diff)
downloadllvm-5200fdf077308ca1ca57c48288713e1285429744.zip
llvm-5200fdf077308ca1ca57c48288713e1285429744.tar.gz
llvm-5200fdf077308ca1ca57c48288713e1285429744.tar.bz2
Fix typo
llvm-svn: 191595
-rw-r--r--llvm/lib/IR/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index 968b8f4..ba4ee7f 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -245,7 +245,7 @@ GlobalVariable *Module::getGlobalVariable(StringRef Name, bool AllowLocal) {
/// 1. If it does not exist, add a declaration of the global and return it.
/// 2. Else, the global exists but has the wrong type: return the function
/// with a constantexpr cast to the right type.
-/// 3. Finally, if the existing global is the correct delclaration, return the
+/// 3. Finally, if the existing global is the correct declaration, return the
/// existing global.
Constant *Module::getOrInsertGlobal(StringRef Name, Type *Ty) {
// See if we have a definition for the specified global already.