[PATCH] D116812: [AArch64][SVE][VLS] Move extends into arguments of comparisons

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 07:56:18 PST 2022


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

When a comparison is extended and it would be free to extend the
arguments to that comparison, we can propagate the extend into those arguments.
This prevents extra instructions being generated to extend the result of the
comparison, which is not free to extend.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116812

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116812.398147.patch
Type: text/x-patch
Size: 20183 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220107/b12b2a54/attachment.bin>


More information about the llvm-commits mailing list