[all-commits] [llvm/llvm-project] 543b90: [LegalizeVectorTypes] Improve SplitVecRes_INSERT_S...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Mar 2 21:14:33 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 543b901e581b732225db4277a8e995ac8dde62b7
      https://github.com/llvm/llvm-project/commit/543b901e581b732225db4277a8e995ac8dde62b7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-02 (Tue, 02 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll

  Log Message:
  -----------
  [LegalizeVectorTypes] Improve SplitVecRes_INSERT_SUBVECTOR to handle subvector being in the high half of the split or not at element 0 of the low half.

This function isn't exercised in lit tests today today according to
the code coverage report. But will be after the tests in D97543 and
D97559.

Posting this patch to help a crash that Fraser hit.

Reviewed By: frasercrmck

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




More information about the All-commits mailing list