Switch to using the denormal-fp-math/denormal-fp-math-f32
attributes. Determine the defaults from the calling convention, to
assume flushing in graphics shaders by default.
Would it be possible to do this patch in two steps:
- First step: Add the parsing of the new function attribute, but keep the subtarget feature.
- Second step: Remove the subtarget feature.
This would make the upgrade process easier for out-of-tree users (Mesa, LLPC).
Apart from that this seems like a good change to me.