[PATCH] D106028: [AArch64][SelectionDAG] Add legalization for widening LOAD/MLOAD.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 14 17:32:25 PDT 2021
efriedma created this revision.
efriedma added reviewers: sdesmalen, paulwalker-arm, craig.topper.
Herald added subscribers: ecnelises, danielkiss, steven.zhang, hiraditya, kristof.beyls.
efriedma requested review of this revision.
Herald added a project: LLVM.
By the magic of masked loads, a widened MLOAD is almost identical to the original MLOAD.
Need to handle a few more INSERT_SUBVECTOR legalization cases to avoid crashing on the testcase.
The code for computing the mask is unfortunately not very efficient; maybe we need a target-independent version of whilelo? Or a DAGCombine to form whilelo?
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106028
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/test/CodeGen/AArch64/sve-split-load.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106028.358791.patch
Type: text/x-patch
Size: 13281 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210715/73f3f347/attachment.bin>
More information about the llvm-commits
mailing list