1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Transforms/RewriteStatepointsForGC
Philip Reames f5a62ffd7f [RewriteStatepointsForGC] Limited support for vectors of pointers
This patch adds limited support for inserting explicit relocations when there's a vector of pointers live over the statepoint. This doesn't handle the case where the vector contains a mix of base and non-base pointers; that's future work.

The current implementation just scalarizes the vector over the gc.statepoint before doing the explicit rewrite. An alternate approach would be to plumb the vector all the way though the backend lowering, but doing that appears challenging. In particular, the size of the indirect spill slot is currently assumed to be sizeof(pointer) throughout the backend.

In practice, this is enough to allow running the SLP and Loop vectorizers before RewriteStatepointsForGC.

Differential Revision: http://reviews.llvm.org/D8671

llvm-svn: 234647
2015-04-10 21:48:25 +00:00
..
base-pointers-1.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-2.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-3.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-4.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-5.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-6.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-7.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-8.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-9.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-10.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers-11.ll [RewriteStatepointsForGC] Add tests for the base pointer identification algorithm 2015-02-28 00:20:48 +00:00
base-pointers.ll [RewriteStatepointsForGC] Fix another order of iteration bug 2015-02-28 01:52:09 +00:00
basics.ll Require a GC strategy be specified for functions which use gc.statepoint 2015-03-27 05:09:33 +00:00
live-vector.ll [RewriteStatepointsForGC] Limited support for vectors of pointers 2015-04-10 21:48:25 +00:00
relocate_invoke_result.ll [RewriteStatepointsForGC] Fix a relocation bug w.r.t values defined by invoke instructions 2015-03-04 00:13:52 +00:00
relocation.ll [RewriteStatepointsForGC] Yet more test cases for relocation 2015-03-05 22:28:06 +00:00