fcmp (fneg x), c, pred -> fcmp x, -c, (swap pred)
InstCombine already does this.
Differential D28846
DAG: Fold fneg into compare with constant into the constant arsenm on Jan 17 2017, 11:02 PM. Authored by
Details
fcmp (fneg x), c, pred -> fcmp x, -c, (swap pred) InstCombine already does this.
Diff Detail Event Timeline |