diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2020-02-20 10:40:30 -0800 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2020-02-21 09:17:37 -0800 |
commit | 41bd9ead35f60823c59367efe4f3d5ade87e756d (patch) | |
tree | 879df1051f6cd35d41b2aedf0633de0a8d046353 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 60023e347116e5004295e8c7f2f09cc1855d4d84 (diff) | |
download | llvm-41bd9ead35f60823c59367efe4f3d5ade87e756d.zip llvm-41bd9ead35f60823c59367efe4f3d5ade87e756d.tar.gz llvm-41bd9ead35f60823c59367efe4f3d5ade87e756d.tar.bz2 |
[SystemZ] Return scalarized costs for vector instructions on older archs.
A cost query for a vector instruction should return a cost even without
target vector support, and not trigger an assert.
VectorCombine does this with an input containing source code vectors.
Review: Ulrich Weigand
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions