[PATCH] D138351: [SVE] Fix incorrect predicate for fixed length int/fp conversion.
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 19 04:28:21 PST 2022
paulwalker-arm created this revision.
Herald added subscribers: psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
paulwalker-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
When performing shrinking int/fp conversions the predicate should
be created to match the original fixed length vector type so the
unused lanes don't trigger side effects.
This patch also includes related refactoring to better detect such
issues and streamline the code a little.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138351
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/sve-fixed-length-fp-to-int.ll
llvm/test/CodeGen/AArch64/sve-fixed-length-int-to-fp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138351.476675.patch
Type: text/x-patch
Size: 23900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221119/dad8a076/attachment.bin>
More information about the llvm-commits
mailing list