[flang-commits] [clang] [flang] [flang][Driver] Add option for real sum reassociation (PR #207377)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Jul 8 08:57:05 PDT 2026
================
----------------
tarunprabhu wrote:
The `DEFAULT`, `DISABLE`, and `DISABLE-LAST` prefixes are all checking for identical conditions. It may be better to have a single prefix for these, perhaps called `DISABLED`. The same could be done for `ENABLE` and `ENABLE-LAST` that are identical.
You could also consider using `-SAME` instead of a wildcard match. For instance
```fortran
ENABLE: "-fc1"
ENABLE-SAME: "-freal-sum-association"
```
IMO, this makes it clearer about what each test expects, and suggests which are testing for equivalent behavior.
https://github.com/llvm/llvm-project/pull/207377
More information about the flang-commits
mailing list