diff options
author | Craig Topper <craig.topper@intel.com> | 2019-08-27 06:39:50 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2019-08-27 06:39:50 +0000 |
commit | 243ede9970ed25e892260f97cc3f754a5f35c1cb (patch) | |
tree | 16698634e1a1d159d43d9730bc8643806d1037df /lldb/packages/Python | |
parent | 4a3f62f9fd702d3372e64adf4a58a9a79e9cff10 (diff) | |
download | bcm5719-llvm-243ede9970ed25e892260f97cc3f754a5f35c1cb.tar.gz bcm5719-llvm-243ede9970ed25e892260f97cc3f754a5f35c1cb.zip |
[SelectionDAGBuilder] Hide existence of ConstantDataVector vector from visitGetElementPtr.
ConstantDataVector is a specialized verison of ConstantVector
that stores data in a packed array of bits instead of as
individual pointers to other Constants. But we really shouldn't
expose that if we can void it. And we should handle regular
ConstantVector equally well.
This removes a dyn_cast to ConstantDataVector and just calls
getSplatValue directly on a Constant* if the type is a vector.
llvm-svn: 370018
Diffstat (limited to 'lldb/packages/Python')
0 files changed, 0 insertions, 0 deletions