[llvm] e6a7afa - [NFC] Fix typo in assert message

Max Kazantsev via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 06:31:51 PDT 2022


Author: Max Kazantsev
Date: 2022-05-06T20:31:34+07:00
New Revision: e6a7afae0310b2f314b649a56015914f166f442e

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

LOG: [NFC] Fix typo in assert message

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index 6eb07d6efe3b7..df884c0aff379 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -632,7 +632,7 @@ static BaseDefiningValueResult findBaseDefiningValue(Value *I) {
   // derived pointers (each with it's own base potentially).  It's the job of
   // the caller to resolve these.
   assert((isa<SelectInst>(I) || isa<PHINode>(I)) &&
-         "missing instruction case in findBaseDefiningValing");
+         "missing instruction case in findBaseDefiningValue");
   return BaseDefiningValueResult(I, IsKnownBase);
 }
 


        


More information about the llvm-commits mailing list