[clang] d079743 - [clang] Fix comment typos in CodeGen::EmitLoadOfGlobalRegLValue
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 8 08:49:19 PDT 2024
Author: David Spickett
Date: 2024-10-08T15:48:59Z
New Revision: d079743fe67e05697fe55409115a3614e6fe5c45
URL: https://github.com/llvm/llvm-project/commit/d079743fe67e05697fe55409115a3614e6fe5c45
DIFF: https://github.com/llvm/llvm-project/commit/d079743fe67e05697fe55409115a3614e6fe5c45.diff
LOG: [clang] Fix comment typos in CodeGen::EmitLoadOfGlobalRegLValue
Added:
Modified:
clang/lib/CodeGen/CGExpr.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 451442765620f7..ec54da0a5b2571 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -2366,7 +2366,7 @@ Address CodeGenFunction::EmitExtVectorElementLValue(LValue LV) {
return VectorBasePtrPlusIx;
}
-/// Load of global gamed gegisters are always calls to intrinsics.
+/// Load of global named registers are always calls to intrinsics.
RValue CodeGenFunction::EmitLoadOfGlobalRegLValue(LValue LV) {
assert((LV.getType()->isIntegerType() || LV.getType()->isPointerType()) &&
"Bad type for register variable");
More information about the cfe-commits
mailing list