[llvm] 0d68bad - IR: Fix typo in unreachable message

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 6 20:49:00 PDT 2025


Author: Matt Arsenault
Date: 2025-04-07T10:48:33+07:00
New Revision: 0d68bad78a68874c31cdb337f97a0c4336b1125b

URL: https://github.com/llvm/llvm-project/commit/0d68bad78a68874c31cdb337f97a0c4336b1125b
DIFF: https://github.com/llvm/llvm-project/commit/0d68bad78a68874c31cdb337f97a0c4336b1125b.diff

LOG: IR: Fix typo in unreachable message

Added: 
    

Modified: 
    llvm/lib/IR/Value.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp
index b5a69b9ecdde4..2c41101ef56ff 100644
--- a/llvm/lib/IR/Value.cpp
+++ b/llvm/lib/IR/Value.cpp
@@ -228,7 +228,7 @@ void Value::dropDroppableUse(Use &U) {
     return;
   }
 
-  llvm_unreachable("unkown droppable use");
+  llvm_unreachable("unknown droppable use");
 }
 
 bool Value::isUsedInBasicBlock(const BasicBlock *BB) const {


        


More information about the llvm-commits mailing list