History log of /llvm-project/llvm/test/CodeGen/AArch64/fdiv-const.ll (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8
# a284bdb3 09-Jun-2024 David Green <david.green@arm.com>

[DAG] Fold fdiv X, c2 -> fmul X, 1/c2 without AllowReciprocal if exact (#93882)

This moves the combine of fdiv by constant to fmul out of an
'if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()'

[DAG] Fold fdiv X, c2 -> fmul X, 1/c2 without AllowReciprocal if exact (#93882)

This moves the combine of fdiv by constant to fmul out of an
'if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()' block,
so that it triggers if the divide is exact. An extra check for
Recip.isDenormal() is added as multiple places make reference
to it being unsafe or slow on certain platforms.

show more ...


Revision tags: llvmorg-18.1.7
# 5b4445e5 03-Jun-2024 David Green <david.green@arm.com>

[AArch64] Add a test for converting fdiv by constant to fmul. NFC