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");


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to