summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-12-01 07:50:12 +0000
committerEric Christopher <echristo@gmail.com>2016-12-01 07:50:12 +0000
commite70b7c3dfb0e740dc47540ca8d5b92d6d58551bf (patch)
treeb8adc0dd00ee9b06e5b7a4610ce7a9b02bc76071 /llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
parentd64ecf26e7efc471882283fcd7a907ee192c1358 (diff)
downloadbcm5719-llvm-e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf.tar.gz
bcm5719-llvm-e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf.zip
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
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp b/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
index a28a91e834f..712b1d3da2e 100644
--- a/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp
@@ -82,7 +82,7 @@ void SystemZFrameLowering::determineCalleeSaves(MachineFunction &MF,
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);
}
OpenPOWER on IntegriCloud