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