[all-commits] [llvm/llvm-project] eaf23b: [GIsel][AArch64] Legalize <2 x i16> for G_INSERT_V...

Allen via All-commits all-commits at lists.llvm.org
Tue Sep 12 06:15:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaf23b2480a1c892d86abb7c911d86687a7cfe72
      https://github.com/llvm/llvm-project/commit/eaf23b2480a1c892d86abb7c911d86687a7cfe72
  Author: Allen <zhongyunde at huawei.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/insert-vector-elt-pr63826.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-insert-vector-elt.mir

  Log Message:
  -----------
  [GIsel][AArch64] Legalize <2 x i16> for G_INSERT_VECTOR_ELT (#65830)

Widen the vector elements to 64 bits to make sure it legal instead by
clamping the number of elements. Depend on D153394.

Fixes https://github.com/llvm/llvm-project/issues/63826




More information about the All-commits mailing list