llvm-project/llvm/test/Transforms/InstSimplify
Chen Zheng 758de0e931 [InstructionSimplify] handle denormal input for fcmp
Handle denormal constant input for fcmp instructions based on the
denormal handling mode.

Reviewed By: spatel, dcandler

Differential Revision: https://reviews.llvm.org/D128647
2022-07-01 03:51:28 -04:00
..
ConstProp [Tests] Remove unnecessary bitcasts from opaque pointer tests (NFC) 2022-06-22 14:15:46 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
2011-10-27-BinOpCrash.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +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 [InstSimplify] Fold and/or using implied conditions 2022-05-13 15:09:14 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
and-or-icmp-zero.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
and-or-implied-cond.ll [ValueTracking] Handle and/or on RHS of isImpliedCondition() 2022-05-16 16:30:26 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
cmp-alloca-offsets.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
constant-fold-fp-denormal.ll [InstructionSimplify] handle denormal input for fcmp 2022-07-01 03:51:28 -04: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 [IR] Move vector.insert/vector.extract out of experimental namespace 2022-06-27 10:48:45 +00: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
freeze.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
gc_relocate.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
gep.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [IR] Move vector.insert/vector.extract out of experimental namespace 2022-06-27 10:48:45 +00:00
insertelement.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
invariant.group-load.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
load-relative-32.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
load-relative.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
load.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
null-ptr-is-valid-attribute.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
null-ptr-is-valid.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
opaque-ptr.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
or-icmps-same-ops.ll [InstSimplify] Fold and/or using implied conditions 2022-05-13 15:09:14 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
phi-cse.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
phi.ll [InstSimplify][IR] Handle trapping constant aggregate (PR49839) 2022-06-13 12:35:17 +02:00
pr28725.ll [IR] Remove support for extractvalue constant expression 2022-06-28 10:40:17 +02:00
pr33957.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
pr49495.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
ptr_diff.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
require-dominator.ll [Tests] Remove unnecessary bitcasts from opaque pointer tests (NFC) 2022-06-22 14:15:46 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
select-inseltpoison.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02: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 [Tests] Remove unnecessary bitcasts from opaque pointer tests (NFC) 2022-06-22 14:15:46 +02: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 [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
vector_ptr_bitcast.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
vscale-inseltpoison.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
vscale.ll [InstSimplify] Convert tests to opaque pointers (NFC) 2022-06-10 17:16:28 +02:00
xor.ll [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00