diff options
author | Huihui Zhang <huihuiz@quicinc.com> | 2020-03-12 15:59:14 -0700 |
---|---|---|
committer | Huihui Zhang <huihuiz@quicinc.com> | 2020-03-12 16:15:38 -0700 |
commit | f4f2706572b1851d902fd569d8fb75bc42c8c82b (patch) | |
tree | b64dc75f146e3b96621c0f0e5ff53109501c3a45 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | ccc6e780c8fa769fc503f193d27a1ef356f6355d (diff) | |
download | llvm-f4f2706572b1851d902fd569d8fb75bc42c8c82b.zip llvm-f4f2706572b1851d902fd569d8fb75bc42c8c82b.tar.gz llvm-f4f2706572b1851d902fd569d8fb75bc42c8c82b.tar.bz2 |
[ConstantFold][SVE] Fix constant folding for scalable vector compare instruction.
Summary:
Do not iterate on scalable vector. Also do not return constant scalable vector
from ConstantInt::get().
Fix result type by using getElementCount() instead of getNumElements().
Reviewers: sdesmalen, efriedma, apazos, huntergr, willlovett
Reviewed By: efriedma
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73753
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions