diff options
author | Jim Grosbach <grosbach@apple.com> | 2013-01-07 21:12:13 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2013-01-07 21:12:13 +0000 |
commit | 54f2187eacaa962fe9b25708c9ea01ec2b19dba3 (patch) | |
tree | 6fc927ee4449031c8d182f70a0ee3fc528b3fb8d | |
parent | deb1bab60824c01d85e3fd8bc219c64636fe5380 (diff) |
ARM: Fix a few copy-paste errors.
s/X86/ARM/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171789 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARM.h | 2 | ||||
-rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARM.h b/lib/Target/ARM/ARM.h index 3e1329936a..5faf8c320c 100644 --- a/lib/Target/ARM/ARM.h +++ b/lib/Target/ARM/ARM.h @@ -44,7 +44,7 @@ FunctionPass *createMLxExpansionPass(); FunctionPass *createThumb2ITBlockPass(); FunctionPass *createThumb2SizeReductionPass(); -/// \brief Creates an X86-specific Target Transformation Info pass. +/// \brief Creates an ARM-specific Target Transformation Info pass. ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM); void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index dab7f178cd..774521852a 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -52,8 +52,8 @@ ARMBaseTargetMachine::ARMBaseTargetMachine(const Target &T, StringRef TT, } void ARMBaseTargetMachine::addAnalysisPasses(PassManagerBase &PM) { - // Add first the target-independent BasicTTI pass, then our X86 pass. This - // allows the X86 pass to delegate to the target independent layer when + // Add first the target-independent BasicTTI pass, then our ARM pass. This + // allows the ARM pass to delegate to the target independent layer when // appropriate. PM.add(createBasicTargetTransformInfoPass(getTargetLowering())); PM.add(createARMTargetTransformInfoPass(this)); |