llvm-project/llvm/test/Transforms/InstSimplify/ConstProp
Bjorn Pettersson 3638bdfbda [ConstantFold] Handle undef/poison when constant folding smul_fix/smul_fix_sat
Do constant folding according to
  posion * C -> poison
  C * poison -> poison
  undef * C -> 0
  C * undef -> 0
for smul_fix and smul_fix_sat intrinsics (for any scale).

Reviewed By: nikic, aqjune, nagisa

Differential Revision: https://reviews.llvm.org/D98410
2021-03-12 09:09:58 +01:00
..
AMDGPU [AMDGPU] Add new llvm.amdgcn.fma.legacy intrinsic 2020-10-16 17:10:21 +01:00
ARM
WebAssembly
2002-03-11-ConstPropCrash.ll
2002-05-03-DivideByZeroException.ll
2002-05-03-NotOperator.ll
2002-09-03-SetCC-Bools.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
2003-05-12-DivideError.ll
2005-01-28-SetCCGEP.ll
2006-11-30-vector-cast.ll
2006-12-01-TruncBoolBug.ll
2006-12-01-bool-casts.ll
2007-02-05-BitCast.ll
2007-02-23-sdiv.ll
2008-07-07-VectorCompare.ll
2009-06-20-constexpr-zero-lhs.ll
2009-09-01-GEP-Crash.ll
InsertElement-inseltpoison.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
InsertElement.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
abs.ll
active-lane-mask.ll [ConstProp] Constant propagation for get.active.lane.mask instrinsics 2021-01-08 16:10:01 +00:00
allones.ll [EarlyCSE] Verify hash code in regression tests 2020-09-04 10:40:35 -04:00
avx512.ll
basictest.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
binop-identity-undef.ll
bitcast.ll
bitcount.ll
bswap.ll
calls-math-finite.ll [Tests] Add willreturn to libcalls in some tests 2021-01-22 21:47:35 +01:00
calls.ll [Tests] Add willreturn to libcalls in some tests 2021-01-22 21:47:35 +01:00
cast-vector.ll
cast.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
constant-expr.ll
convert-from-fp16.ll
copysign.ll
div-zero.ll
extractelement-vscale.ll
extractvalue.ll
float-to-ptr-cast.ll
fma.ll
fneg.ll
fp-undef.ll [ConstantFolding] add undef handling for fmin/fmax intrinsics 2020-09-19 10:31:01 -04:00
freeze.ll
funnel-shift.ll
gep-alias.ll
gep-constanfolding-error.ll
gep-zeroinit-vector.ll
gep.ll
icmp-null.ll [ConstantFold] Handle icmp of global and null consistently 2021-03-08 17:18:01 +01:00
insertvalue.ll
loads.ll
logicaltest.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
math-1.ll [InstSimplify] Add willreturn to more libcall tests (NFC) 2021-01-22 21:58:59 +01:00
math-2.ll [InstSimplify] Add willreturn to more libcall tests (NFC) 2021-01-22 21:58:59 +01:00
min-max.ll
overflow-ops.ll [ConstProp] Remove unused check-prefixes 2020-11-09 13:12:40 +00:00
phi.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
poison.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
remtest.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
rint.ll [Local] Treat calls that may not return as being alive. 2021-01-23 16:05:14 +00:00
round.ll [Tests] Add willreturn to libcalls in some tests 2021-01-22 21:47:35 +01:00
saturating-add-sub.ll
shift.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
smul-fix-sat.ll [ConstantFold] Handle undef/poison when constant folding smul_fix/smul_fix_sat 2021-03-12 09:09:58 +01:00
smul-fix.ll [ConstantFold] Handle undef/poison when constant folding smul_fix/smul_fix_sat 2021-03-12 09:09:58 +01:00
sse.ll
timeout.ll
trunc.ll [Tests] Add willreturn to libcalls in some tests 2021-01-22 21:47:35 +01:00
trunc_vec.ll
vecreduce.ll [llvm][mlir] Promote the experimental reduction intrinsics to be first class intrinsics. 2020-10-07 10:36:44 -07:00
vector-undef-elts-inseltpoison.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
vector-undef-elts.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
vectorgep-crash.ll
vscale-getelementptr.ll [EarlyCSE] Verify hash code in regression tests 2020-09-04 10:40:35 -04:00
vscale-inseltpoison.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00
vscale-shufflevector-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
vscale-shufflevector.ll [EarlyCSE] Verify hash code in regression tests 2020-09-04 10:40:35 -04:00
vscale.ll Revert "[ConstantFold] Fold more operations to poison" 2021-02-04 00:24:02 +09:00