[all-commits] [llvm/llvm-project] bb308b: [RS4GC] Fix algorithm to avoid setting vector BDV ...
annamthomas via All-commits
all-commits at lists.llvm.org
Thu May 14 07:04:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bb308b020522420413c7d3f2989a88f2fc423c56
https://github.com/llvm/llvm-project/commit/bb308b020522420413c7d3f2989a88f2fc423c56
Author: Anna Thomas <anna at azul.com>
Date: 2020-05-14 (Thu, 14 May 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
M llvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll
Log Message:
-----------
[RS4GC] Fix algorithm to avoid setting vector BDV for scalar derived pointer
Summary:
This is a more general fix to 59029b9eef23 (D75704).
This patch does the following:
1. updates isKnownBaseValue to account for base pointer and
derived pointer having differing types.
2. This inturn allows us to populate the
lattice (States) for such derived pointers.
3. It also updates all states where the base and derived pointers have
differing types (vector versus scalar) and conservatively marks these
states as conflictcs.
Note that in 59029b9eef23, we were just fixing existing lattice values
and that too, only for uses of extractelement.
Reviewers: reames, skatkov, dantrushin
Reviewed By: skatkov
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76305
More information about the All-commits
mailing list