summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-01-07 21:12:13 +0000
committerJim Grosbach <grosbach@apple.com>2013-01-07 21:12:13 +0000
commit553eb75663b38b637c11058e39554eab7d9236a8 (patch)
treee6acef5791fe5a5f158e58747397567980327a18 /llvm/lib
parent5cfa4aeee59ac9cdf5d4a2c5bee8f09ffc917d1f (diff)
downloadbcm5719-llvm-553eb75663b38b637c11058e39554eab7d9236a8.tar.gz
bcm5719-llvm-553eb75663b38b637c11058e39554eab7d9236a8.zip
ARM: Fix a few copy-paste errors.
s/X86/ARM/ llvm-svn: 171789
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARM.h2
-rw-r--r--llvm/lib/Target/ARM/ARMTargetMachine.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARM.h b/llvm/lib/Target/ARM/ARM.h
index 3e1329936a1..5faf8c320c1 100644
--- a/llvm/lib/Target/ARM/ARM.h
+++ b/llvm/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/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index dab7f178cd0..774521852a1 100644
--- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/llvm/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));
OpenPOWER on IntegriCloud