llvm-project/llvm/test/Analysis/ConstantFolding
Sanjay Patel e591713bff [ConstantFolding] fold abs intrinsic
The handling for minimum value is similar to cttz/ctlz with 0 just above this case.

Differential Revision: https://reviews.llvm.org/D84942
2020-07-31 14:08:44 -04:00
..
AMDGPU [AMDGPU] Fold llvm.amdgcn.cos and llvm.amdgcn.sin intrinsics (fix tests) 2020-06-03 11:40:52 +01:00
ARM [ARM] Constant fold VCTP intrinsics 2020-07-21 11:39:31 +01:00
abs.ll [ConstantFolding] fold abs intrinsic 2020-07-31 14:08:44 -04:00
allones.ll [ConstantFolding] check applicability of AllOnes constant creation first 2020-07-19 13:13:57 -04:00
binop-identity-undef.ll [ConstantFold] Handle identity folds at top of ConstantFoldBinaryInst 2019-11-17 21:30:14 +00:00
bitcount.ll
cast-vector.ll
copysign.ll [ConstFolding] move tests for copysign; NFC 2019-11-26 16:54:46 -05:00
extractelement-vscale.ll [SVE] Eliminate bad VectorType::getNumElements() calls from ConstantFold 2020-06-17 14:19:56 -07:00
fneg.ll
fp-undef.ll [ConstantFold] fold fsub -0.0, undef to undef rather than NaN 2020-02-21 08:03:19 -05:00
freeze.ll [ConstantFolding] Fold freeze if it is never undef or poison 2020-07-26 21:54:44 +09:00
funnel-shift.ll
gep-alias.ll
gep-constanfolding-error.ll
gep-zeroinit-vector.ll [ConstantFold] Fold extractelement of getelementptr 2019-10-28 18:32:39 +00:00
gep.ll
math-1.ll [ConstantFolding] Fold constant calls to log2() 2019-09-30 20:53:23 +00:00
math-2.ll [ConstantFolding] Fold calls to FP remainder function 2020-02-12 13:21:18 +02:00
min-max.ll [ConstantFolding] fold integer min/max intrinsics 2020-07-29 11:01:13 -04:00
rint.ll [ConstantFolding] Expand folding of some library functions 2019-09-12 21:23:22 +00:00
round.ll [ConstantFolding] Expand folding of some library functions 2019-09-12 21:23:22 +00:00
saturating-add-sub.ll
smul-fix-sat.ll
smul-fix.ll
timeout.ll
trunc.ll [ConstantFolding] Expand folding of some library functions 2019-09-12 21:23:22 +00:00
vecreduce.ll [ConstantFolding] Constant folding for integer vector reduce intrinsics 2020-05-29 17:58:42 +01:00
vector-undef-elts.ll
vectorgep-crash.ll [IR] Prefer scalar type for struct indexes in GEP constant expressions. 2020-06-23 16:14:36 -07:00
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