as written in Numeric / Math / Linear Algebra, calculation with denormals or non-numbers slows down performance - even when not signalled. 
it might be interesting to abort a calculation, e.g. a matrix/vector multiplication, with first occurence of NaN - or with one of the other conditions ..
Ofek Shilon held the talk Optimization Remarks - Helping the Compiler to Generate Better Code at CppCon 2022. Here his PDF slides. Here also slides of a sligthly older talk on the same topic: https://www.slideshare.net/ofekshilon/optview2-c-on-sea-2022
references from his slides:
llvm-14-tools-fsave-optimization-recordopt-viewer.py –output-dir <htmls folder> –source-dir <repo> <yamls folder>__restrict or HEDLEY_RESTRICT__attribute__((const)) or HEDLEY_CONSTconst functions are not using any saved/global state; thus free of side-effectsconst is stronger than pure__attribute__((pure)) or HEDLEY_PURE__attribute__((noescape)) or HEDLEY_NO_ESCAPE