summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-06-26 22:47:37 +0000
committerPhilip Reames <listmail@philipreames.com>2015-06-26 22:47:37 +0000
commit8fe7f13af88e6cbd8a31f90373bd1e3db307926b (patch)
treec964f9f2b91311ebf214a2bc0b4df27ab7521dac /llvm/lib/CodeGen/MachineInstr.cpp
parent3203818bf7df5ff7b0b01b036cfeeb090ab9e596 (diff)
downloadbcm5719-llvm-8fe7f13af88e6cbd8a31f90373bd1e3db307926b.tar.gz
bcm5719-llvm-8fe7f13af88e6cbd8a31f90373bd1e3db307926b.zip
[RewriteStatepointsForGC] Generalized vector phi/select handling for base pointers
This change extends the detection of base pointers for vector constructs to handle arbitrary phi and select nodes. The existing non-vector code already handles those, so this is basically just extending the vector special case to be less special cased. It still isn't generalized vector handling since we can't handle arbitrary vector instructions (e.g. shufflevectors), but it's a lot closer. The general structure of the change is as follows: * Extend the base defining value relation over a subset of vector instructions and vector typed phi & select instructions. * Move scalarization from before base pointer rewriting to after base pointer rewriting. The extension of the BDV relation is sufficient to find vector base phis for vector inputs. * Preserve the existing special case logic for when the base of a vector element is locally obvious. This general idea could be extended to the scalar case as well. Differential Revision: http://reviews.llvm.org/D10461#inline-84275 llvm-svn: 240850
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud