From 289bd5f6843ba3e7a7a1831ce59d25aedae75aae Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Wed, 27 Apr 2016 19:39:32 +0000 Subject: Add optimization bisect opt-in calls for PowerPC passes Differential Revision: http://reviews.llvm.org/D19554 llvm-svn: 267769 --- llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Target/PowerPC/PPCMIPeephole.cpp') diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp index fe339d70d7d..a57a83d7aa9 100644 --- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp +++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp @@ -63,6 +63,8 @@ private: public: // Main entry point for this pass. bool runOnMachineFunction(MachineFunction &MF) override { + if (skipFunction(*MF.getFunction())) + return false; initialize(MF); return simplifyCode(); } -- cgit v1.2.3