[AArch64][NFC] NFC for const vector as Instruction operand (#116790)
commit197fb270cc2f947bdde047d9aac65b653f4f6f26
authorSushant Gokhale <sgokhale@nvidia.com>
Thu, 21 Nov 2024 04:53:05 +0000 (21 10:23 +0530)
committerGitHub <noreply@github.com>
Thu, 21 Nov 2024 04:53:05 +0000 (21 10:23 +0530)
tree67b591313f0fe275f6c76ea9c45028573f8e3a56
parentc4be13cb9c81469060e2018f4e4673440772db03
[AArch64][NFC] NFC for const vector as Instruction operand (#116790)

Current cost-modelling does not take into account cost of materializing
const vector. This results in some cases, as the test shows, being
vectorized but this may not always be profitable. Future patch will try
to address this issue.
llvm/test/Transforms/SLPVectorizer/materialize-vector-of-consts.ll [new file with mode: 0644]