aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/Analysis.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/CodeGen/Analysis.cpp
parentd64ecf26e7efc471882283fcd7a907ee192c1358 (diff)
downloadllvm-e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf.zip
llvm-e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf.tar.gz
llvm-e70b7c3dfb0e740dc47540ca8d5b92d6d58551bf.tar.bz2
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/CodeGen/Analysis.cpp')
-rw-r--r--llvm/lib/CodeGen/Analysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Analysis.cpp b/llvm/lib/CodeGen/Analysis.cpp
index 0678bce..5113603 100644
--- a/llvm/lib/CodeGen/Analysis.cpp
+++ b/llvm/lib/CodeGen/Analysis.cpp
@@ -684,7 +684,7 @@ llvm::getFuncletMembership(const MachineFunction &MF) {
DenseMap<const MachineBasicBlock *, int> FuncletMembership;
// We don't have anything to do if there aren't any EH pads.
- if (!MF.hasEHFunclets())
+ if (!MF.getMMI().hasEHFunclets())
return FuncletMembership;
int EntryBBNumber = MF.front().getNumber();