summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-19 21:18:47 +0000
committerEric Christopher <echristo@gmail.com>2014-05-19 21:18:47 +0000
commit710c0ae7ded536444ee941da6999ce2073a23943 (patch)
treecbb06508ebf4a12e2eeb1bdaa454cf0b60763e91 /llvm
parent472e6b4cf16d897fab8f8030f0bede0eff977684 (diff)
downloadbcm5719-llvm-710c0ae7ded536444ee941da6999ce2073a23943.tar.gz
bcm5719-llvm-710c0ae7ded536444ee941da6999ce2073a23943.zip
Fix typos.
llvm-svn: 209164
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp3
-rw-r--r--llvm/utils/TableGen/PseudoLoweringEmitter.cpp3
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index a9a29ab109c..c8211b76be4 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -98,7 +98,8 @@ static MCContext *addPassesToGenerateCode(LLVMTargetMachine *TM,
// Add internal analysis passes from the target machine.
TM->addAnalysisPasses(PM);
- // Targets may override createPassConfig to provide a target-specific sublass.
+ // Targets may override createPassConfig to provide a target-specific
+ // subclass.
TargetPassConfig *PassConfig = TM->createPassConfig(PM);
PassConfig->setStartStopPasses(StartAfter, StopAfter);
diff --git a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
index e1bdb43ecd4..70b677fd1b9 100644
--- a/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
+++ b/llvm/utils/TableGen/PseudoLoweringEmitter.cpp
@@ -157,8 +157,7 @@ void PseudoLoweringEmitter::evaluateExpansion(Record *Rec) {
// If there are more operands that weren't in the DAG, they have to
// be operands that have default values, or we have an error. Currently,
- // Operands that are a sublass of OperandWithDefaultOp have default values.
-
+ // Operands that are a subclass of OperandWithDefaultOp have default values.
// Validate that each result pattern argument has a matching (by name)
// argument in the source instruction, in either the (outs) or (ins) list.
OpenPOWER on IntegriCloud