As discussed in PR45478:
https://bugs.llvm.org/show_bug.cgi?id=45478
...propagating FMF from the outer (second) call is not correct, so intersect them instead.
I suspect we could do better (see TODO comment), but mismatched FMF is probably too rare to care about.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Side note - Alive2 does not seem to recognize the keyword 'fast' currently (or we would have seen more tests flagged as incorrect).
Comment Actions
That's correct. Alive2 only supports a subset of 'fast', like ninf, nsz, nnan. Since 'fast' includes all of them, it can't be supported until we finish implementing the remaining fast-math flags.