aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2024-08-09 14:25:07 +0100
committerGitHub <noreply@github.com>2024-08-09 14:25:07 +0100
commit0b745a10843fc85e579bbf459f78b3f43e7ab309 (patch)
treed83a36acd23b53ba7a9e6a73e94a50a93665d7f1 /llvm/lib/Object/COFFObjectFile.cpp
parent195362929cd79c0202f73bcbab9a09b8a1a3beaa (diff)
downloadllvm-0b745a10843fc85e579bbf459f78b3f43e7ab309.zip
llvm-0b745a10843fc85e579bbf459f78b3f43e7ab309.tar.gz
llvm-0b745a10843fc85e579bbf459f78b3f43e7ab309.tar.bz2
[AArch64] Add invalid 1 x vscale costs for reductions and reduction-operations. (#102105)
The code-generator is currently not able to handle scalable vectors of <vscale x 1 x eltty>. The usual "fix" for this until it is supported is to mark the costs of loads/stores with an invalid cost, preventing the vectorizer from vectorizing at those factors. But on rare occasions loops do not contain load/stores, only reductions. So whilst this is still unsupported return an invalid cost to avoid selecting vscale x 1 VFs. The cost of a reduction is not currently used by the vectorizer so this adds the cost to the add/mul/and/or/xor or min/max that should feed the reduction. It includes reduction costs too, for completeness. This change will be removed when code-generation for these types is sufficiently reliable. Fixes #99760
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions