1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Add optimization bisect support to an optional Mips pass

Differential Revision: https://reviews.llvm.org/D19513

llvm-svn: 282428
This commit is contained in:
Andrew Kaylor 2016-09-26 19:05:37 +00:00
parent abe4a252bf
commit fce59ef3ff

View File

@ -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;