Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 786045e

Browse files
author
Andrew Kaylor
committed
Add optimization bisect support to an optional Mips pass
Differential Revision: https://reviews.llvm.org/D19513 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282428 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 3911695 commit 786045e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/Target/Mips/MipsOptimizePICCall.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ void MBBInfo::postVisit() {
174174

175175
// OptimizePICCall methods.
176176
bool OptimizePICCall::runOnMachineFunction(MachineFunction &F) {
177+
if (skipFunction(*F.getFunction()))
178+
return false;
179+
177180
if (static_cast<const MipsSubtarget &>(F.getSubtarget()).inMips16Mode())
178181
return false;
179182

0 commit comments

Comments
 (0)