Skip to content

Commit

Permalink
Add optimization bisect support to an optional Mips pass
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D19513

llvm-svn: 282428
  • Loading branch information
andykaylor committed Sep 26, 2016
1 parent a213e6b commit 595307a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
Expand Up @@ -174,6 +174,9 @@ void MBBInfo::postVisit() {

// OptimizePICCall methods.
bool OptimizePICCall::runOnMachineFunction(MachineFunction &F) {
if (skipFunction(*F.getFunction()))
return false;

if (static_cast<const MipsSubtarget &>(F.getSubtarget()).inMips16Mode())
return false;

Expand Down

0 comments on commit 595307a

Please sign in to comment.