commit | d9974cc9131e8f3a342b4b12941a9cb7cb7228b0 | [log] [tgz] |
---|---|---|
author | Andrew Kaylor <andrew.kaylor@intel.com> | Tue Apr 26 23:49:41 2016 +0000 |
committer | Andrew Kaylor <andrew.kaylor@intel.com> | Tue Apr 26 23:49:41 2016 +0000 |
tree | 721dd9155b487a9a5e88fba266c597e728820208 | |
parent | 87b10dd7b38a17fe154fe15211d76abc3d9ddf26 [diff] [blame] |
Add optimization bisect opt-in calls for SystemZ passes Differential Revision: http://reviews.llvm.org/D19562 llvm-svn: 267636
diff --git a/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp b/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp index 24165be..ff81e6b 100644 --- a/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp +++ b/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp
@@ -64,6 +64,9 @@ } bool SystemZLDCleanup::runOnMachineFunction(MachineFunction &F) { + if (skipFunction(*F.getFunction())) + return false; + TII = static_cast<const SystemZInstrInfo *>(F.getSubtarget().getInstrInfo()); MF = &F;