[all-commits] [llvm/llvm-project] 4c4dbe: [DAGCombine] Check the legality of the index of EX...

Guo-Peilin via All-commits all-commits at lists.llvm.org
Wed Aug 25 04:34:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c4dbeeeea4ae3eb96f4a9ea8d4584ea973f68fe
      https://github.com/llvm/llvm-project/commit/4c4dbeeeea4ae3eb96f4a9ea8d4584ea973f68fe
  Author: Peilin Guo <guopeilin1 at huawei.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AArch64/aarch64-avoid-illegal-extract-subvector.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.buffer.load.format.v3f16.ll

  Log Message:
  -----------
  [DAGCombine] Check the legality of the index of EXTRACT_SUBVECTOR

For ISD::EXTRACT_SUBVECTOR, its second operand must be a constant
multiple of the known-minimum vector length of the result type.

Reviewed By: dmgreen

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




More information about the All-commits mailing list