summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-08-27 02:38:21 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-08-27 02:38:21 +0000
commit5e60bcdeafdc15ba979aa42897f32dd2439757f4 (patch)
treeab9001c667cff0d2802a7ba52063d5ed1fda666a /llvm/include
parentd51f2a2a64dc9c65fee29cb1ea1ce3e4217dca64 (diff)
downloadbcm5719-llvm-5e60bcdeafdc15ba979aa42897f32dd2439757f4.tar.gz
bcm5719-llvm-5e60bcdeafdc15ba979aa42897f32dd2439757f4.zip
[MachineLegalize] Do not abort when the target wants to fall back.
llvm-svn: 279904
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h b/llvm/include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h
index 586391341fc..ccdc05a9623 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/MachineLegalizePass.h
@@ -43,6 +43,8 @@ public:
return "MachineLegalizePass";
}
+ void getAnalysisUsage(AnalysisUsage &AU) const override;
+
MachineFunctionProperties getRequiredProperties() const override {
return MachineFunctionProperties().set(
MachineFunctionProperties::Property::IsSSA);
OpenPOWER on IntegriCloud