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:
parent
abe4a252bf
commit
fce59ef3ff
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user