]> granicus.if.org Git - llvm/commit
[RS4GC] Look through vector bitcasts when looking for base pointer
authorDaniel Neilson <dneilson@azul.com>
Fri, 13 Oct 2017 15:59:13 +0000 (15:59 +0000)
committerDaniel Neilson <dneilson@azul.com>
Fri, 13 Oct 2017 15:59:13 +0000 (15:59 +0000)
commit043ceffa29cd0673aecc3b568442096fd7ac9b06
tree50ab8cf9df163004a7dadb7503187c187f3b363f
parent3f3b1a3ce2a87f4533db9e1e8af6990398b6de2b
[RS4GC] Look through vector bitcasts when looking for base pointer

Summary:
 In RS4GC it is possible that a base pointer is contained in a vector that
has undergone a bitcast from one element-pointertype to another. We teach
RS4GC how to look through bitcasts of vector types when looking for a base
pointer.

Reviewers: anna

Reviewed By: anna

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D38849

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315694 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
test/Transforms/RewriteStatepointsForGC/vector-bitcast.ll [new file with mode: 0644]