1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Analysis/ConstantFolding
Huihui Zhang 2fab04a4e4 [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
2020-03-12 16:15:38 -07:00
..
AMDGPU
binop-identity-undef.ll
bitcount.ll
cast-vector.ll
copysign.ll
fneg.ll
fp-undef.ll
funnel-shift.ll
gep-alias.ll
gep-constanfolding-error.ll
gep-zeroinit-vector.ll
gep.ll
math-1.ll
math-2.ll
min-max.ll
rint.ll
round.ll
saturating-add-sub.ll
smul-fix-sat.ll
smul-fix.ll
timeout.ll
trunc.ll
vector-undef-elts.ll
vectorgep-crash.ll
vscale-getelementptr.ll
vscale-shufflevector.ll
vscale.ll