[all-commits] [llvm/llvm-project] ccffc2: [AArch64][GlobalISel] Widen (<2 x s16> = G_BUILD_V...

Amara Emerson via All-commits all-commits at lists.llvm.org
Wed Jul 19 16:51:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccffc2705054c24a5768b59fbb96c3044ff1a8d4
      https://github.com/llvm/llvm-project/commit/ccffc2705054c24a5768b59fbb96c3044ff1a8d4
  Author: Amara Emerson <amara at apple.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-build-vector.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-unmerge.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Widen (<2 x s16> = G_BUILD_VECTOR) to <2 x s32>.

We don't support this as a argument or return type, it's always promoted to <2 x s32>.

Performing the widening prevents us from having selection failures due to unsupported
extends.

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




More information about the All-commits mailing list