From 553eb75663b38b637c11058e39554eab7d9236a8 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Mon, 7 Jan 2013 21:12:13 +0000 Subject: [PATCH] ARM: Fix a few copy-paste errors. s/X86/ARM/ llvm-svn: 171789 --- llvm/lib/Target/ARM/ARM.h | 2 +- llvm/lib/Target/ARM/ARMTargetMachine.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/ARM/ARM.h b/llvm/lib/Target/ARM/ARM.h index 3e1329936a18..5faf8c320c14 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 dab7f178cd06..774521852a17 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));