Follow-up patch of D140530.
We can add FMIN, FMAX to isAssociativeAndCommutative to
increase instruction-level parallelism by the existing MachineCombiner
pass.
Paths
| Differential D140602
[RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative ClosedPublic Authored by HsiangKai on Dec 22 2022, 7:28 PM.
Details Summary Follow-up patch of D140530. We can add FMIN, FMAX to isAssociativeAndCommutative to
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 25 2022, 10:52 PM This revision was landed with ongoing or failed builds.Dec 29 2022, 3:59 AM Closed by commit rGaf5dd2706c84: [RISCV] Add fmin/fmax scalar instructions to isAssociativeAndCommutative (authored by HsiangKai). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 485262 llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/test/CodeGen/RISCV/machine-combiner.ll
|
I don't think FMIN/FMAX require Reassoc or FmNsz