diff options
Diffstat (limited to 'lib/Target/PowerPC/PPCMIPeephole.cpp')
| -rw-r--r-- | lib/Target/PowerPC/PPCMIPeephole.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCMIPeephole.cpp b/lib/Target/PowerPC/PPCMIPeephole.cpp index fe339d70d7dec..a57a83d7aa93b 100644 --- a/lib/Target/PowerPC/PPCMIPeephole.cpp +++ b/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(); } |
