diff options
author | Matthias Braun <matze@braunis.de> | 2018-07-12 19:27:01 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2018-07-12 19:27:01 +0000 |
commit | f03f32d4784f2b808dfdff568bcc023331e96cdb (patch) | |
tree | 3398d97fed255cd62ad65858111770b6beaf2e11 /llvm/lib/CodeGen/ResetMachineFunctionPass.cpp | |
parent | 762dee516c3b1d4d1cf7d8c34921977fd1d60c5a (diff) | |
download | llvm-f03f32d4784f2b808dfdff568bcc023331e96cdb.zip llvm-f03f32d4784f2b808dfdff568bcc023331e96cdb.tar.gz llvm-f03f32d4784f2b808dfdff568bcc023331e96cdb.tar.bz2 |
Revert "(HEAD -> master, origin/master, arcpatch-D37582) CodeGen: Remove pipeline dependencies on StackProtector; NFC"
This was triggering pass scheduling failures.
This reverts commit r336929.
llvm-svn: 336934
Diffstat (limited to 'llvm/lib/CodeGen/ResetMachineFunctionPass.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ResetMachineFunctionPass.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/ResetMachineFunctionPass.cpp b/llvm/lib/CodeGen/ResetMachineFunctionPass.cpp index a02302e..88d550e 100644 --- a/llvm/lib/CodeGen/ResetMachineFunctionPass.cpp +++ b/llvm/lib/CodeGen/ResetMachineFunctionPass.cpp @@ -18,7 +18,6 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/MachineFunctionPass.h" #include "llvm/CodeGen/MachineRegisterInfo.h" -#include "llvm/CodeGen/StackProtector.h" #include "llvm/CodeGen/Passes.h" #include "llvm/IR/DiagnosticInfo.h" #include "llvm/Support/Debug.h" @@ -45,11 +44,6 @@ namespace { StringRef getPassName() const override { return "ResetMachineFunction"; } - void getAnalysisUsage(AnalysisUsage &AU) const override { - AU.addPreserved<StackProtector>(); - MachineFunctionPass::getAnalysisUsage(AU); - } - bool runOnMachineFunction(MachineFunction &MF) override { // No matter what happened, whether we successfully selected the function // or not, nothing is going to use the vreg types after us. Make sure they |