Similar to D84091 which added extra extra predicated folds for integer operations using the identity element of the operation, this adds them for floating point operations for the form BinOp(x, select(p, y, Identity)). They are folded back to predicated versions of the operator, with fadd having the identity -0.0, fsub using the identity 0.0 and fmul using 1.0.
Details
Details
Summary
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Nov 15 2021, 2:14 AM
This revision was landed with ongoing or failed builds.Nov 24 2021, 2:22 AM
Closed by commit rGd9af9c2c5a53: [ARM] Fold floating point select(binop) patterns (authored by dmgreen). · Explain Why
This revision was automatically updated to reflect the committed changes.