aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2021-06-24 13:09:11 +0100
committerDavid Green <david.green@arm.com>2021-06-24 13:09:11 +0100
commit1113e06821e6baffc84b8caf96a28bf62e6d28dc (patch)
tree4a329eee25b3d20dba199f6908df2e54003591a8 /llvm/lib/Transforms/Utils/Local.cpp
parent9f5f91778710a891b2b5ccafeb783c3609192ae8 (diff)
downloadllvm-1113e06821e6baffc84b8caf96a28bf62e6d28dc.zip
llvm-1113e06821e6baffc84b8caf96a28bf62e6d28dc.tar.gz
llvm-1113e06821e6baffc84b8caf96a28bf62e6d28dc.tar.bz2
[ARM] Extend narrow values to allow using truncating scatters
As a minor adjustment to the existing lowering of offset scatters, this extends any smaller-than-legal vectors into full vectors using a zext, so that the truncating scatters can be used. Due to the way MVE legalizes the vectors this should be cheap in most situations, and will prevent the vector from being scalarized. Differential Revision: https://reviews.llvm.org/D103704
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions