[PATCH] D111412: [AArch64][SVE] Ensure LowerEXTRACT_SUBVECTOR is not called for illegal types

Bradley Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 08:03:15 PDT 2021


bsmith created this revision.
bsmith added reviewers: paulwalker-arm, peterwaller-arm, sdesmalen.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
bsmith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The lowering for EXTRACT_SUBVECTOR should not be called during type
legalization, only as part of lowering, hence return SDValue() when
called on illegal types.

This also adds missing tests for extracting fixed types from illegal
scalable types.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111412

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-extract-fixed-vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111412.378217.patch
Type: text/x-patch
Size: 11819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211008/3a4016e7/attachment.bin>


More information about the llvm-commits mailing list