From b529f91924ce8e6b2d13f5c6d8989ebd09714de1 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 15 Feb 2017 15:11:36 +0000 Subject: [PATCH] Fix spelling mistake - paramater -> parameter. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295182 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Allocator.h | 2 +- include/llvm/Target/TargetLowering.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Support/Allocator.h b/include/llvm/Support/Allocator.h index c71759abd7d..6a65f61fbfa 100644 --- a/include/llvm/Support/Allocator.h +++ b/include/llvm/Support/Allocator.h @@ -357,7 +357,7 @@ private: }; /// \brief The standard BumpPtrAllocator which just uses the default template -/// paramaters. +/// parameters. typedef BumpPtrAllocatorImpl<> BumpPtrAllocator; /// \brief A BumpPtrAllocator that allows only elements of a specific type to be diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 68696763fca..204d8807a68 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -2362,11 +2362,11 @@ public: /// expression and return a mask of KnownOne and KnownZero bits for the /// expression (used to simplify the caller). The KnownZero/One bits may only /// be accurate for those bits in the DemandedMask. - /// \p AssumeSingleUse When this paramater is true, this function will + /// \p AssumeSingleUse When this parameter is true, this function will /// attempt to simplify \p Op even if there are multiple uses. /// Callers are responsible for correctly updating the DAG based on the /// results of this function, because simply replacing replacing TLO.Old - /// with TLO.New will be incorrect when this paramater is true and TLO.Old + /// with TLO.New will be incorrect when this parameter is true and TLO.Old /// has multiple uses. bool SimplifyDemandedBits(SDValue Op, const APInt &DemandedMask, APInt &KnownZero, APInt &KnownOne, -- 2.50.1