summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll
diff options
context:
space:
mode:
authorFedor Sergeev <fedor.sergeev@azul.com>2017-12-15 09:32:11 +0000
committerFedor Sergeev <fedor.sergeev@azul.com>2017-12-15 09:32:11 +0000
commit4b86d7904863b3d0e552db37f455fe76430e6d46 (patch)
tree0e25cf33f78c4d76e01cf18a6f0bc47a1665cf37 /llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll
parent9fcc4727aca032b9a670d82f86646830ba90434a (diff)
downloadbcm5719-llvm-4b86d7904863b3d0e552db37f455fe76430e6d46.tar.gz
bcm5719-llvm-4b86d7904863b3d0e552db37f455fe76430e6d46.zip
[PM] port Rewrite Statepoints For GC to the new pass manager.
Summary: The port is nearly straightforward. The only complication is related to the analyses handling, since one of the analyses used in this module pass is domtree, which is a function analysis. That requires asking for the results of each function and disallows a single interface for run-on-module pass action. Decided to copy-paste the main body of this pass. Most of its code is requesting analyses anyway, so not that much of a copy-paste. The rest of the code movement is to transform all the implementation helper functions like stripNonValidData into non-member statics. Extended all the related LLVM tests with new-pass-manager use. No failures. Reviewers: sanjoy, anna, reames Reviewed By: anna Subscribers: skatkov, llvm-commits Differential Revision: https://reviews.llvm.org/D41162 llvm-svn: 320796
Diffstat (limited to 'llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll')
-rw-r--r--llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll b/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll
index df42eb14cfd..105e0e88ac2 100644
--- a/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll
+++ b/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll
@@ -1,4 +1,5 @@
; RUN: opt -rewrite-statepoints-for-gc -S < %s | FileCheck %s
+; RUN: opt -passes=rewrite-statepoints-for-gc -S < %s | FileCheck %s
; Test to make sure we destroy LCSSA's single entry phi nodes before
; running liveness
OpenPOWER on IntegriCloud