DAG: Pull fneg out of select feeding fadd into fsub
Enables folding fadd x, (select c, (fneg a), (fneg b)) -> fsub (select a, b), c Avoids some regressions in a future AMDGPU change.
parent
a20503ca
Please register or sign in to comment
Enables folding fadd x, (select c, (fneg a), (fneg b)) -> fsub (select a, b), c Avoids some regressions in a future AMDGPU change.