summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FixupBWInsts.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2016-04-26 21:44:24 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2016-04-26 21:44:24 +0000
commit2bee5ef462d1ffefeb17c150b2e43e15a39e4cf5 (patch)
treea20bae80d996a52dadef8222a982b18c9d32934e /llvm/lib/Target/X86/X86FixupBWInsts.cpp
parent128f8732a5c4c318ae8e789754857aea278be8a6 (diff)
downloadbcm5719-llvm-2bee5ef462d1ffefeb17c150b2e43e15a39e4cf5.tar.gz
bcm5719-llvm-2bee5ef462d1ffefeb17c150b2e43e15a39e4cf5.zip
Optimization bisect support in X86-specific passes
Differential Revision: http://reviews.llvm.org/D19439 llvm-svn: 267608
Diffstat (limited to 'llvm/lib/Target/X86/X86FixupBWInsts.cpp')
-rw-r--r--llvm/lib/Target/X86/X86FixupBWInsts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FixupBWInsts.cpp b/llvm/lib/Target/X86/X86FixupBWInsts.cpp
index 8b212127881..52037692185 100644
--- a/llvm/lib/Target/X86/X86FixupBWInsts.cpp
+++ b/llvm/lib/Target/X86/X86FixupBWInsts.cpp
@@ -138,7 +138,7 @@ char FixupBWInstPass::ID = 0;
FunctionPass *llvm::createX86FixupBWInsts() { return new FixupBWInstPass(); }
bool FixupBWInstPass::runOnMachineFunction(MachineFunction &MF) {
- if (!FixupBWInsts)
+ if (!FixupBWInsts || skipFunction(*MF.getFunction()))
return false;
this->MF = &MF;
OpenPOWER on IntegriCloud