forked from OSchip/llvm-project
ARM: Fix a few copy-paste errors.
s/X86/ARM/ llvm-svn: 171789
This commit is contained in:
parent
5cfa4aeee5
commit
553eb75663
|
@ -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,
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue