From 4b86d7904863b3d0e552db37f455fe76430e6d46 Mon Sep 17 00:00:00 2001 From: Fedor Sergeev Date: Fri, 15 Dec 2017 09:32:11 +0000 Subject: [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 --- llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll') diff --git a/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll b/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll index 5694cfd5ecb..b9f67c1a374 100644 --- a/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll +++ b/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll @@ -1,4 +1,5 @@ ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s +; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s ; CHECK: derived %obj_to_consume base %obj_to_consume.base -- cgit v1.2.3