1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +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 [AMDGPU][ConstantFolding] Fold llvm.amdgcn.cube* intrinsics 2020-03-06 16:42:53 +00:00
binop-identity-undef.ll
bitcount.ll
cast-vector.ll
copysign.ll
fneg.ll
fp-undef.ll [ConstantFold] fold fsub -0.0, undef to undef rather than NaN 2020-02-21 08:03:19 -05:00
funnel-shift.ll
gep-alias.ll
gep-constanfolding-error.ll
gep-zeroinit-vector.ll
gep.ll
math-1.ll
math-2.ll [ConstantFolding] Fold calls to FP remainder function 2020-02-12 13:21:18 +02:00
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 Reapply: [SVE] Fix bug in simplification of scalable vector instructions 2020-02-05 10:00:09 -08:00
vscale-shufflevector.ll Reapply: [SVE] Fix bug in simplification of scalable vector instructions 2020-02-05 10:00:09 -08:00
vscale.ll [ConstantFold][SVE] Fix constant folding for scalable vector compare instruction. 2020-03-12 16:15:38 -07:00