[llvm] 4638eda - [TypeSize][NFC] Fix type-o

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 20:17:52 PST 2023


Author: eopXD
Date: 2023-02-20T20:17:43-08:00
New Revision: 4638edaeaa80d7430d507219819faa7d2cfe98b7

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

LOG: [TypeSize][NFC] Fix type-o

Signed-off-by: eop Chen <eop.chen at sifive.com>

Added: 
    

Modified: 
    llvm/include/llvm/Support/TypeSize.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/TypeSize.h b/llvm/include/llvm/Support/TypeSize.h
index 0abd4b3db4cae..88b31aa6a0ab5 100644
--- a/llvm/include/llvm/Support/TypeSize.h
+++ b/llvm/include/llvm/Support/TypeSize.h
@@ -322,8 +322,8 @@ class TypeSize : public details::FixedOrScalableQuantity<TypeSize, uint64_t> {
   static constexpr TypeSize getFixed(ScalarTy ExactSize) {
     return TypeSize(ExactSize, false);
   }
-  static constexpr TypeSize getScalable(ScalarTy MinimunSize) {
-    return TypeSize(MinimunSize, true);
+  static constexpr TypeSize getScalable(ScalarTy MinimumSize) {
+    return TypeSize(MinimumSize, true);
   }
   static constexpr TypeSize get(ScalarTy Quantity, bool Scalable) {
     return TypeSize(Quantity, Scalable);


        


More information about the llvm-commits mailing list