commit | e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@gmail.com> | Thu Dec 01 07:50:12 2016 +0000 |
committer | Eric Christopher <echristo@gmail.com> | Thu Dec 01 07:50:12 2016 +0000 |
tree | b8adc0dd00ee9b06e5b7a4610ce7a9b02bc76071 | |
parent | d64ecf26e7efc471882283fcd7a907ee192c1358 [diff] [blame] |
Temporarily Revert "Move most EH from MachineModuleInfo to MachineFunction" This apprears to have broken the global isel bot: http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-globalisel_build/5174/console This reverts commit r288293. llvm-svn: 288322
diff --git a/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp b/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp index a28a91e..712b1d3 100644 --- a/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp +++ b/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
@@ -82,7 +82,7 @@ SavedRegs.set(SystemZ::ArgGPRs[I]); // If there are any landing pads, entering them will modify r6/r7. - if (!MF.getLandingPads().empty()) { + if (!MF.getMMI().getLandingPads().empty()) { SavedRegs.set(SystemZ::R6D); SavedRegs.set(SystemZ::R7D); }