summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-15 15:11:36 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-02-15 15:11:36 +0000
commit1746e2152cdc1fc042573b71ce98298828424567 (patch)
tree033f7bd632693c9a25b57dcaee98eb8f0d99ea19
parent32d753cae340b3c8e7c0ceda73f110d953b8fb14 (diff)
downloadbcm5719-llvm-1746e2152cdc1fc042573b71ce98298828424567.tar.gz
bcm5719-llvm-1746e2152cdc1fc042573b71ce98298828424567.zip
Fix spelling mistake - paramater -> parameter. NFCI.
llvm-svn: 295182
-rw-r--r--llvm/include/llvm/Support/Allocator.h2
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/Allocator.h b/llvm/include/llvm/Support/Allocator.h
index c71759abd7d..6a65f61fbfa 100644
--- a/llvm/include/llvm/Support/Allocator.h
+++ b/llvm/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/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 68696763fca..204d8807a68 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud