[PATCH] D107057: [llvm][sve] Lowering for VLS extending loads

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 04:57:25 PDT 2021


DavidTruby created this revision.
Herald added subscribers: ctetreau, psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
DavidTruby requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch enables extending loads for fixed length SVE code generation.

There is a slight regression here in the mulh tests; since these tests
load the parameter and then extend it these are treated as extending
loads which are merged, preventing the mulh instruction from being
generated. As this affects scalable SVE codegen as well this should be
addressed in a separate patch.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107057

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-fixed-length-ext-loads.ll
  llvm/test/CodeGen/AArch64/sve-fixed-length-int-mulh.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107057.362723.patch
Type: text/x-patch
Size: 36579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/70a7951a/attachment.bin>


More information about the llvm-commits mailing list