llvm-project/llvm/test/Transforms/EarlyCSE
Sanjay Patel 2981a94902 [EarlyCSE][ConstantFolding] do not constant fold atan2(+/-0.0, +/-0.0), part 2
Follow-up to 7f1262a322. That patch avoided removing the
call, but it still allowed the constant-folded result. This
makes the behavior consistent with 1-arg libm folding: if the
call potentially raises an exception, then we just bail out.

It seems likely that there are other corner-cases like this,
but the tests are incomplete, so we have lived with these
discrepancies for a long time. This was untested before the
the constant folding was expanded in D127964.
2022-08-20 10:16:06 -04:00
..
AArch64 [Tests] Remove unnecessary bitcasts from opaque pointer tests (NFC) 2022-06-22 14:15:46 +02:00
AMDGPU
DirectX NFC. Require DirectX backend for these tests 2022-08-03 15:55:03 -05:00
PowerPC
X86 [Tests] Remove unnecessary bitcasts from opaque pointer tests (NFC) 2022-06-22 14:15:46 +02:00
and_or.ll
atan.ll [EarlyCSE][ConstantFolding] do not constant fold atan2(+/-0.0, +/-0.0), part 2 2022-08-20 10:16:06 -04:00
atomics.ll
basic.ll
commute.ll
conditional.ll
const-speculation.ll [SimplifyCFG,EarlyCSE] Update 2 tests to not branch on undef (NFC). 2022-06-12 18:03:26 +01:00
debug-info-undef.ll
debuginfo-dce.ll
defaultfp-strictfp.ll
ebstrict-strictfp.ll Precommit tests for D112256 "[FPEnv][EarlyCSE] Add support for CSE of constrained FP intrinsics, take 2" 2022-07-28 08:59:27 -04:00
edge.ll
fence.ll
flags.ll
floatingpoint.ll
gc_relocate.ll
getmatchingvalue-crash.ll
globalsaa-memoryssa.ll
guards.ll
instsimplify-dom.ll
int_sideeffect.ll
invariant-loads.ll
invariant.start.ll
masked-intrinsics-unequal-masks.ll
masked-intrinsics.ll
math-1.ll [ConstantFolding] Eliminate atan and atan2 calls 2022-08-10 11:01:50 -04:00
math-2.ll [ConstantFolding] Eliminate atan and atan2 calls 2022-08-10 11:01:50 -04:00
memoryssa.ll
mixed-strictfp.ll Precommit tests for D112256 "[FPEnv][EarlyCSE] Add support for CSE of constrained FP intrinsics, take 2" 2022-07-28 08:59:27 -04:00
noalias-scope-decl.ll
nonmixed-strictfp.ll [FPEnv][EarlyCSE] Support for CSE when exception behavior is "ignore" or "maytrap" and the rounding mode is known. 2022-08-16 08:31:42 -04:00
opaque-ptr.ll [EarlyCSE][OpaquePointers]Replace assert with return for mask type check. 2022-08-08 16:14:42 +03:00
phi.ll
pr33406.ll
readnone-mayunwind.ll
reuse-preserved-memoryssa.ll
round-dyn-strictfp.ll Precommit tests for D112256 "[FPEnv][EarlyCSE] Add support for CSE of constrained FP intrinsics, take 2" 2022-07-28 08:59:27 -04:00
tfpropagation.ll [FPEnv][EarlyCSE] Support for CSE when exception behavior is "ignore" or "maytrap" and the rounding mode is known. 2022-08-16 08:31:42 -04:00
writeonly.ll