Fix typos.
authorEric Christopher <echristo@gmail.com>
Mon, 19 May 2014 21:18:47 +0000 (21:18 +0000)
committerEric Christopher <echristo@gmail.com>
Mon, 19 May 2014 21:18:47 +0000 (21:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209164 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LLVMTargetMachine.cpp
utils/TableGen/PseudoLoweringEmitter.cpp

index a9a29ab109caec9540fea8bd90e2ba970cadbcfc..c8211b76be4e8b022dd6a1ba752d109c6d0d02c2 100644 (file)
@@ -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);
 
index e1bdb43ecd4d8a908679358182e48c74beb8a670..70b677fd1b9fcaac8fcfa826754bcf459d5ccda3 100644 (file)
@@ -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.