[clang] 9697a9e - Fix typo in identifier in assert.
Tim Northover via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 15 01:58:32 PDT 2020
Author: Tim Northover
Date: 2020-07-15T09:57:53+01:00
New Revision: 9697a9e2d316f0d9d588f4de536b0a6bbef2810f
URL: https://github.com/llvm/llvm-project/commit/9697a9e2d316f0d9d588f4de536b0a6bbef2810f
DIFF: https://github.com/llvm/llvm-project/commit/9697a9e2d316f0d9d588f4de536b0a6bbef2810f.diff
LOG: Fix typo in identifier in assert.
Added:
Modified:
clang/lib/CodeGen/CGBuiltin.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 34f4f21746f7..8994b939093e 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -6400,7 +6400,7 @@ static Value *EmitSpecialRegisterBuiltin(CodeGenFunction &CGF,
&& "Can't fit 64-bit value in 32-bit register");
if (AccessKind != Write) {
- assert(AccesKind == NormalRead || AccessKind == VolatileRead);
+ assert(AccessKind == NormalRead || AccessKind == VolatileRead);
llvm::Function *F = CGM.getIntrinsic(
AccessKind == VolatileRead ? llvm::Intrinsic::read_volatile_register
: llvm::Intrinsic::read_register,
More information about the cfe-commits
mailing list