diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-19 21:18:47 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-19 21:18:47 +0000 |
commit | b39cae9b15065f6c964344f11f8e13fbf4a3b4d8 (patch) | |
tree | 639837e1a87069aca659757bc3ad15af5d6e6896 | |
parent | 37b0592215cf46690f0a7f10dd0dc046a6b32df1 (diff) | |
download | llvm-b39cae9b15065f6c964344f11f8e13fbf4a3b4d8.tar.gz llvm-b39cae9b15065f6c964344f11f8e13fbf4a3b4d8.tar.bz2 llvm-b39cae9b15065f6c964344f11f8e13fbf4a3b4d8.tar.xz |
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209164 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 3 | ||||
-rw-r--r-- | utils/TableGen/PseudoLoweringEmitter.cpp | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index a9a29ab109..c8211b76be 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/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/utils/TableGen/PseudoLoweringEmitter.cpp b/utils/TableGen/PseudoLoweringEmitter.cpp index e1bdb43ecd..70b677fd1b 100644 --- a/utils/TableGen/PseudoLoweringEmitter.cpp +++ b/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. |