Tests that were affected by this change did not have denormal flushing enabled.
Diff Detail
Event Timeline
I could add a function attribute containing denormal flushing or add more run lines to these tests.
| llvm/test/CodeGen/AMDGPU/fdot2.ll | ||
|---|---|---|
| 138 ↗ | (On Diff #538554) | I will remove this change. | 
Ideally we would have checks for at least ieee and preserve-sign modes for everything touching mad selection
Why do you need to denorm flushing enabled to use v_fma_mix? I know that v_mad_mix always flushes denorms regardless of MODE register settings, but as far as I understand v_fma_mix doesn't have that issue.
It would be better to add some tests here (or maybe just add some RUN lines to existing tests) that do show the effect.
| llvm/lib/Target/AMDGPU/VOP3PInstructions.td | ||
|---|---|---|
| 251 | Update this comment. | |
Added tests without denormal flushing as a function attribute.
In all cases except GFX900 it should have the same result as with denormal flushing.
| llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll | ||
|---|---|---|
| 13 | I wasn't sure should I add all the RUN lines with and without denormal flushing. | |
| llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll | ||
|---|---|---|
| 59 | typo siml. Also "s/no_flush/ieee"? | |
Update this comment.