mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
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
This commit is contained in:
parent
deb1bab608
commit
54f2187eac
@ -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
Block a user