As is the title, this patch also takes care about dup node in performAddDotCombine which tries to support scalable vector type.
TestPlan: check-llvm
Differential D99699
[AArch64][SVE] Lowering sve.dot to DOT node junparser on Mar 31 2021, 9:13 PM. Authored by
Details 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 Timeline
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.
|
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).