mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Use new MachineInstr mayLoadOrStore() API. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1fd101c86d
commit
157fbac534
@ -51,8 +51,7 @@ ARMHazardRecognizer::getHazardType(SUnit *SU, int Stalls) {
|
||||
// Skip over one non-VFP / NEON instruction.
|
||||
if (!LastMI->isBarrier() &&
|
||||
// On A9, AGU and NEON/FPU are muxed.
|
||||
!(TII.getSubtarget().isLikeA9() &&
|
||||
(LastMI->mayLoad() || LastMI->mayStore())) &&
|
||||
!(TII.getSubtarget().isLikeA9() && LastMI->mayLoadOrStore()) &&
|
||||
(LastMCID.TSFlags & ARMII::DomainMask) == ARMII::DomainGeneral) {
|
||||
MachineBasicBlock::iterator I = LastMI;
|
||||
if (I != LastMI->getParent()->begin()) {
|
||||
|
@ -569,7 +569,7 @@ Thumb2SizeReduce::ReduceSpecial(MachineBasicBlock &MBB, MachineInstr *MI,
|
||||
if (Entry.LowRegs1 && !VerifyLowRegs(MI))
|
||||
return false;
|
||||
|
||||
if (MI->mayLoad() || MI->mayStore())
|
||||
if (MI->mayLoadOrStore())
|
||||
return ReduceLoadStore(MBB, MI, Entry);
|
||||
|
||||
switch (Opc) {
|
||||
|
Loading…
Reference in New Issue
Block a user