summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-05-10 00:39:22 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-05-10 00:39:22 +0000
commit00d68222783a1592f3bf9d55b9a1f8f7b8e42733 (patch)
tree7afacd54cf98b4cdb0a2ce88595fbb22ce8d47ab /llvm/lib/CodeGen/CodeGen.cpp
parentbcb79e638652dc3285e0c786d729e26f1dd2cdb7 (diff)
downloadbcm5719-llvm-00d68222783a1592f3bf9d55b9a1f8f7b8e42733.tar.gz
bcm5719-llvm-00d68222783a1592f3bf9d55b9a1f8f7b8e42733.zip
[CodeGen] Split SafeStack into a LegacyPass and a utility. NFC.
This lets the pass focus on gathering the required analyzes, and the utility class focus on the transformation. Differential Revision: https://reviews.llvm.org/D31303 llvm-svn: 302609
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGen.cpp b/llvm/lib/CodeGen/CodeGen.cpp
index 3fc12ccc3b6..871006c4b5f 100644
--- a/llvm/lib/CodeGen/CodeGen.cpp
+++ b/llvm/lib/CodeGen/CodeGen.cpp
@@ -79,7 +79,7 @@ void llvm::initializeCodeGen(PassRegistry &Registry) {
initializeRAGreedyPass(Registry);
initializeRegisterCoalescerPass(Registry);
initializeRenameIndependentSubregsPass(Registry);
- initializeSafeStackPass(Registry);
+ initializeSafeStackLegacyPassPass(Registry);
initializeShrinkWrapPass(Registry);
initializeSlotIndexesPass(Registry);
initializeStackColoringPass(Registry);
OpenPOWER on IntegriCloud