diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-26 23:49:41 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-26 23:49:41 +0000 |
commit | d9974cc9131e8f3a342b4b12941a9cb7cb7228b0 (patch) | |
tree | 721dd9155b487a9a5e88fba266c597e728820208 /llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp | |
parent | 87b10dd7b38a17fe154fe15211d76abc3d9ddf26 (diff) | |
download | bcm5719-llvm-d9974cc9131e8f3a342b4b12941a9cb7cb7228b0.tar.gz bcm5719-llvm-d9974cc9131e8f3a342b4b12941a9cb7cb7228b0.zip |
Add optimization bisect opt-in calls for SystemZ passes
Differential Revision: http://reviews.llvm.org/D19562
llvm-svn: 267636
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp b/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp index 24165be29ae..ff81e6b0a49 100644 --- a/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp +++ b/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp @@ -64,6 +64,9 @@ void SystemZLDCleanup::getAnalysisUsage(AnalysisUsage &AU) const { } bool SystemZLDCleanup::runOnMachineFunction(MachineFunction &F) { + if (skipFunction(*F.getFunction())) + return false; + TII = static_cast<const SystemZInstrInfo *>(F.getSubtarget().getInstrInfo()); MF = &F; |