[llvm] [LLVM] fix typo (PR #74195)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 2 06:23:34 PST 2023


https://github.com/FusionBolt created https://github.com/llvm/llvm-project/pull/74195

None

>From 3ed70911c066add5293ac82b5f0cc5dce0727c88 Mon Sep 17 00:00:00 2001
From: FusionBolt <realfusionbolt at gmail.com>
Date: Sat, 2 Dec 2023 22:20:32 +0800
Subject: [PATCH] fix typo

---
 llvm/lib/IR/ConstantsContext.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/IR/ConstantsContext.h b/llvm/lib/IR/ConstantsContext.h
index 6023216a50708..44a926b5dc58e 100644
--- a/llvm/lib/IR/ConstantsContext.h
+++ b/llvm/lib/IR/ConstantsContext.h
@@ -182,7 +182,7 @@ class ShuffleVectorConstantExpr final : public ConstantExpr {
 };
 
 /// GetElementPtrConstantExpr - This class is private to Constants.cpp, and is
-/// used behind the scenes to implement getelementpr constant exprs.
+/// used behind the scenes to implement getelementptr constant exprs.
 class GetElementPtrConstantExpr final : public ConstantExpr {
   Type *SrcElementTy;
   Type *ResElementTy;



More information about the llvm-commits mailing list