5 Commits

Author SHA1 Message Date
Roman Lebedev
75d1a815c3
[NFC] Port all PhaseOrdering tests to -passes= syntax 2022-12-08 02:38:50 +03:00
Simon Pilgrim
c29d911fd3 [PhaseOrdering] Add missing x86 registered target requirement to fast-basictest.ll 2022-09-27 20:59:57 +01:00
Simon Pilgrim
bcb1397bda [PhaseOrdering][X86] Add missing triple from fast-basictest.ll test 2022-09-25 16:23:35 +01:00
Warren Ristow
c650793049 [Reassociate] Enable FP reassociation via 'reassoc' and 'nsz'
Compiling with '-ffast-math' tuns on all the FastMathFlags (FMF), as
expected, and that enables FP reassociation. Only the two FMF flags
'reassoc' and 'nsz' are technically required to perform reassociation,
but disabling other unrelated FMF bits is needlessly suppressing the
optimization.

This patch fixes that needless suppression, and makes appropriate
adjustments to test-cases, fixing some outstanding TODOs in the process.

Fixes: #56483

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D129523
2022-07-15 11:44:35 -07:00
Daniil Kovalev
8471c537d5 Split fast-basictest.ll according to passes responsible for optimizations
- add logically missing test cases.
- add appropriate comments.
- add appropriate TODO's.

See initial motivation in https://reviews.llvm.org/D117302

Differential Revision: https://reviews.llvm.org/D118769
2022-02-04 12:20:10 +03:00