As a follow up to D126686, this does the same fold for floating point add and shuffle. In this case it is limited to reassoc either x[0]+x[1] or x[1]+x[0] for both result[0] and results[1].
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D127087
[AArch64] Generate FADDP from shuffled fadd ClosedPublic Authored by dmgreen on Jun 6 2022, 12:45 AM.
Details Summary As a follow up to D126686, this does the same fold for floating point add and shuffle. In this case it is limited to reassoc either x[0]+x[1] or x[1]+x[0] for both result[0] and results[1].
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 6 2022, 3:48 AM This revision was landed with ongoing or failed builds.Jun 11 2022, 6:16 AM Closed by commit rG338fd211e7c3: [AArch64] Generate FADDP from shuffled fadd (authored by dmgreen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 434395 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/test/CodeGen/AArch64/faddp-half.ll
llvm/test/CodeGen/AArch64/faddp.ll
|