summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-01 07:12:15 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-01 07:12:15 +0000
commitef1c2ba22a8dd8d56f4281d36e5a241c671084a2 (patch)
tree31b689bb19e8757a9182ca01253278ced7a34926 /llvm/include
parent92a8fe34e57d6e55feb4a483624ebd95e5c166e2 (diff)
downloadbcm5719-llvm-ef1c2ba22a8dd8d56f4281d36e5a241c671084a2.tar.gz
bcm5719-llvm-ef1c2ba22a8dd8d56f4281d36e5a241c671084a2.zip
fix trivial typos, NFC
llvm-svn: 306952
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h2
-rw-r--r--llvm/include/llvm/Transforms/Utils/ValueMapper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index 47d96c56ad2..964d6314b12 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/include/llvm/Target/TargetLowering.h
@@ -2051,7 +2051,7 @@ public:
/// this information should not be provided because it will generate more
/// loads.
virtual bool hasPairedLoad(EVT /*LoadedType*/,
- unsigned & /*RequiredAligment*/) const {
+ unsigned & /*RequiredAlignment*/) const {
return false;
}
diff --git a/llvm/include/llvm/Transforms/Utils/ValueMapper.h b/llvm/include/llvm/Transforms/Utils/ValueMapper.h
index 0cc6b34d459..45ef8246dcd 100644
--- a/llvm/include/llvm/Transforms/Utils/ValueMapper.h
+++ b/llvm/include/llvm/Transforms/Utils/ValueMapper.h
@@ -116,7 +116,7 @@ static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) {
/// - \a scheduleMapGlobalAliasee()
/// - \a scheduleRemapFunction()
///
-/// Sometimes a callback needs a diferent mapping context. Such a context can
+/// Sometimes a callback needs a different mapping context. Such a context can
/// be registered using \a registerAlternateMappingContext(), which takes an
/// alternate \a ValueToValueMapTy and \a ValueMaterializer and returns a ID to
/// pass into the schedule*() functions.
OpenPOWER on IntegriCloud