[all-commits] [llvm/llvm-project] 03065e: [AArch64][SVE] Ensure LowerEXTRACT_SUBVECTOR is no...

Bradley Smith via All-commits all-commits at lists.llvm.org
Mon Oct 11 04:21:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03065ecd85366d0d0f8502469be7543be6fece70
      https://github.com/llvm/llvm-project/commit/03065ecd85366d0d0f8502469be7543be6fece70
  Author: Bradley Smith <bradley.smith at arm.com>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

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

  Log Message:
  -----------
  [AArch64][SVE] Ensure LowerEXTRACT_SUBVECTOR is not called for illegal types

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.

Differential Revision: https://reviews.llvm.org/D111412




More information about the All-commits mailing list