ARM: Fix a few copy-paste errors.
authorJim Grosbach <grosbach@apple.com>
Mon, 7 Jan 2013 21:12:13 +0000 (21:12 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 7 Jan 2013 21:12:13 +0000 (21:12 +0000)
s/X86/ARM/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171789 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARM.h
lib/Target/ARM/ARMTargetMachine.cpp

index 3e1329936a185a454156c477b3c8772f58da2e67..5faf8c320c1437e17a1cfbf8ef36be9d83058dad 100644 (file)
@@ -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,
index dab7f178cd063415a29aba1ad18a1ddb6eb67ec7..774521852a17c250bd461de05dbe8fe4fdbe4907 100644 (file)
@@ -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));