llvm-project/llvm/test/Transforms/InstSimplify
Benjamin Kramer 08b20f20d2 [ConstantFold] Use getFltSemantics instead of manually checking the type
Simplifies the code and makes fpext/fptrunc constant folding not crash
when the result is bf16.
2022-05-05 15:52:19 +02:00
..
ConstProp [ConstantFold] Use getFltSemantics instead of manually checking the type 2022-05-05 15:52:19 +02:00
X86 [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
2010-12-20-Boolean.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
2011-01-14-Thread.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
2011-02-01-Vector.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
2011-09-05-InsertExtractValue.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
2011-10-27-BinOpCrash.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
2011-11-23-MaskedBitsCrash.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
2013-04-19-ConstantFoldingCrash.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
AndOrXor.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
abs_intrinsic.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
add-mask.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
add.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
addsub.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
and-icmps-same-ops.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
and-or-icmp-ctpop.ll [InstSimplify] Fold (ctpop(X) == N) || (X != 0) into X != 0 where N > 0 2022-04-04 23:23:34 +09:00
and-or-icmp-min-max.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
and-or-icmp-nullptr.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
and-or-icmp-zero.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
and.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
assume-non-zero.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
assume_icmp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
bitcast-vector-fold.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
bitreverse-fold.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
bitreverse.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
bswap.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
call.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
cast-unsigned-icmp-cmp-0.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
cast.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
cmp-alloca-offsets.ll {instsimplify] Precommit some tests for provable inequal pointers derived from allocas 2022-02-17 12:06:06 -08:00
cmp-vec-fast-path.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
cmp_ext.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
cmp_of_min_max.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
compare.ll [instsimplify] Assume storage for byval args doesn't overlap allocas, globals, or other byval args 2022-02-18 11:08:01 -08:00
constantfold-add-nuw-allones-to-allones.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
constantfold-shl-nuw-C-to-C.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
constfold-constrained.ll [ConstantFolding] Fix folding of constrained compare intrinsics 2022-02-27 10:19:19 +07:00
dead-code-removal.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
distribute.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
div-by-0-guard-before-smul_ov-not.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
div-by-0-guard-before-smul_ov.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
div-by-0-guard-before-umul_ov-not.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
div-by-0-guard-before-umul_ov.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
div.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
exact-nsw-nuw.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
extract-element.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
extract-vector.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fast-math-strictfp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fast-math.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fcmp-select.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fcmp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fdiv-strictfp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fdiv.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
floating-point-arithmetic-strictfp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
floating-point-arithmetic.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
floating-point-compare.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fminmax-folds.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fold-intrinsics.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
fold-vscale.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fp-nan.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fp-undef-poison-strictfp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fp-undef-poison.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fptoi-range.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
fptoi-sat.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
freeze-noundef.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
freeze.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
gc_relocate.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
gep.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
icmp-abs-nabs.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
icmp-bool-constant.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
icmp-constant.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
icmp-not-bool-constant.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
icmp-ranges.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
icmp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
implies.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
insert-vector.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
insertelement.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
insertvalue.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
invalid-load-operand-infinite-loop.ll [InstSimplify] Treat invariant group insts as bitcasts for load operands 2021-06-15 12:59:43 -07:00
invariant.group-load.ll [InstSimplify] Treat invariant group insts as bitcasts for load operands 2021-06-15 12:59:43 -07:00
known-never-nan.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
known-non-zero-opaque-ptrs.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
known-non-zero.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
load-relative-32.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
load-relative.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
load.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
log-exp-intrinsic.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
log2-pow2-intrinsic.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
log10-pow10-intrinsic.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
logic-of-fcmps.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
maxmin.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
maxmin_intrinsics.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
mul.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
named-vector-shuffle-reverse.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
negate.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
noalias-ptr.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
null-ptr-is-valid-attribute.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
null-ptr-is-valid.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
opaque-ptr.ll [ConstantFold] Fold zero-index GEPs with opaque pointers 2022-04-04 13:04:27 +02:00
or-icmps-same-ops.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
or.ll [InstSimplify] remove shift that is redundant with part of funnel shift 2022-02-23 09:10:01 -05:00
past-the-end.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
phi-cse.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
phi.ll [InstSimplify] Don't fold phi of poison and trapping const expr (PR49839) 2022-04-12 17:32:25 +02:00
pr28725.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
pr33957.ll
pr49495.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
ptr_diff.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
reassociate.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
redundant-null-check-in-uadd_with_overflow-of-nonnull-ptr.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
rem.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
remove-dead-call.ll
require-dominator.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
result-of-add-of-negative-is-non-zero-and-no-underflow.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
result-of-usub-is-non-zero-and-no-overflow.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
returned.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
round-intrinsics.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
saturating-add-sub.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
sdiv.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
select-and-cmp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
select-implied.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
select-inseltpoison.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
select-logical.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
select-or-cmp.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
select.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shift-128-kb.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shift-knownbits.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shift.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shr-nop.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
shr-scalar-vector-consistency.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shufflevector-inseltpoison.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
shufflevector.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
signed-div-rem.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
simplify-nested-bitcast.ll [InstSimplify] Don't lose inbounds when simplifying a GEP 2021-09-23 09:25:06 +01:00
smul_fix.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
srem.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
strictfp-fadd.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
strictfp-fsub.ll [FPEnv][InstSimplify] Fold fsub -0.0, -X ==> X 2022-04-14 11:48:54 -04:00
strictfp-sqrt-nonneg.ll [FPEnv][InstSimplify] Teach CannotBeNegativeZero() about constrained intrinsics. 2022-03-18 10:24:48 -04:00
sub.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
undef.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
vec-cmp.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
vector_gep.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
vector_ptr_bitcast.ll [NFCI] Regenerate instsimplify test checks 2022-04-03 20:55:15 +02:00
vscale-inseltpoison.ll [IR] Let ConstantVector::getSplat use poison instead of undef 2021-08-10 08:27:43 +01:00
vscale.ll [Analysis] Add support for vscale in computeKnownBitsFromOperator 2021-09-20 15:01:59 +01:00
xor.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00