Adjust enablement of RewriteStatepointsForGC
authorPhilip Reames <listmail@philipreames.com>
Fri, 20 Feb 2015 02:34:49 +0000 (02:34 +0000)
committerPhilip Reames <listmail@philipreames.com>
Fri, 20 Feb 2015 02:34:49 +0000 (02:34 +0000)
commite807289468c0201287bea058f95061ba3d2c6241
tree21535b31a0cddd3dd5caf5f510b6c825f33482e2
parent1ba7281189050ebbbb56b7a0ee1625f4ad0bd1bd
Adjust enablement of RewriteStatepointsForGC

When back merging the changes in 229945 I noticed that I forgot to mark the test cases with the appropriate GC.  We want the rewriting to be off by default (even when manually added to the pass order), not on-by default.  To keep the current test working, mark them as using the statepoint-example GC and whitelist that GC.

Longer term, we need a better selection mechanism here for both actual usage and testing.  As I migrate more tests to the in tree version of this pass, I will probably need to update the enable/disable logic as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
test/Transforms/RewriteStatepointsForGC/basics.ll