As is the title, this patch also takes care about dup node in performAddDotCombine which tries to support scalable vector type.
TestPlan: check-llvm
Paths
| Differential D99699
[AArch64][SVE] Lowering sve.dot to DOT node ClosedPublic Authored by junparser on Mar 31 2021, 9:13 PM.
Details Summary As is the title, this patch also takes care about dup node in performAddDotCombine which tries to support scalable vector type. TestPlan: check-llvm
Diff Detail Event TimelineHerald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett. ยท View Herald TranscriptMar 31 2021, 9:13 PM dmgreen added inline comments.
Comment Actions Thanks for the patch @junparser! Just a few minor comments from me. ๐
Comment Actions address comments. @joechrisellis @david-arm Add fp constants handle in ISD::isConstantSplatVector , also split the testcase. This revision is now accepted and ready to land.Apr 2 2021, 4:40 AM Closed by commit rG274ac9d40e79: [AArch64][SVE] Lowering sve.dot to DOT node (authored by junparser). ยท Explain WhyApr 2 2021, 5:17 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 334637 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/test/CodeGen/AArch64/sve-intrinsics-int-arith.ll
|
Might be better to do this _before_ the above if(ISD::isConstantSplatVectorAllZeroes(N)), in my opinion, to avoid running this loop twice (once in this function, once in ISD::isConstantSplatVectorAllZeros).