[PATCH] D19513: Add optimization bisect opt-in calls for Mips passes
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 12:14:35 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL282428: Add optimization bisect support to an optional Mips pass (authored by akaylor).
Changed prior to commit:
https://reviews.llvm.org/D19513?vs=54946&id=72537#toc
Repository:
rL LLVM
https://reviews.llvm.org/D19513
Files:
llvm/trunk/lib/Target/Mips/MipsOptimizePICCall.cpp
Index: llvm/trunk/lib/Target/Mips/MipsOptimizePICCall.cpp
===================================================================
--- llvm/trunk/lib/Target/Mips/MipsOptimizePICCall.cpp
+++ llvm/trunk/lib/Target/Mips/MipsOptimizePICCall.cpp
@@ -174,6 +174,9 @@
// OptimizePICCall methods.
bool OptimizePICCall::runOnMachineFunction(MachineFunction &F) {
+ if (skipFunction(*F.getFunction()))
+ return false;
+
if (static_cast<const MipsSubtarget &>(F.getSubtarget()).inMips16Mode())
return false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19513.72537.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160926/8d392003/attachment.bin>
More information about the llvm-commits
mailing list