aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2020-07-15 09:57:53 +0100
committerTim Northover <t.p.northover@gmail.com>2020-07-15 09:57:53 +0100
commit9697a9e2d316f0d9d588f4de536b0a6bbef2810f (patch)
tree2f04346e57367d3d3fa19d654b332b4fb171025b
parent5165b2b5fd5fd62c5a34970be81c79231844804c (diff)
downloadllvm-9697a9e2d316f0d9d588f4de536b0a6bbef2810f.zip
llvm-9697a9e2d316f0d9d588f4de536b0a6bbef2810f.tar.gz
llvm-9697a9e2d316f0d9d588f4de536b0a6bbef2810f.tar.bz2
Fix typo in identifier in assert.
-rw-r--r--clang/lib/CodeGen/CGBuiltin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index 34f4f21..8994b93 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,