forked from OSchip/llvm-project
[Hexagon] Make a couple of passes compliant with -opt-bisect-limit
llvm-svn: 300329
This commit is contained in:
parent
750fe2220e
commit
643aaea59e
|
@ -460,6 +460,8 @@ HexagonCopyToCombine::findPotentialNewifiableTFRs(MachineBasicBlock &BB) {
|
|||
}
|
||||
|
||||
bool HexagonCopyToCombine::runOnMachineFunction(MachineFunction &MF) {
|
||||
if (skipFunction(*MF.getFunction()))
|
||||
return false;
|
||||
|
||||
if (IsCombinesDisabled) return false;
|
||||
|
||||
|
|
|
@ -638,6 +638,9 @@ bool HexagonOptAddrMode::constructDefMap(MachineBasicBlock *B) {
|
|||
}
|
||||
|
||||
bool HexagonOptAddrMode::runOnMachineFunction(MachineFunction &MF) {
|
||||
if (skipFunction(*MF.getFunction()))
|
||||
return false;
|
||||
|
||||
bool Changed = false;
|
||||
auto &HST = MF.getSubtarget<HexagonSubtarget>();
|
||||
auto &MRI = MF.getRegInfo();
|
||||
|
|
Loading…
Reference in New Issue