[all-commits] [llvm/llvm-project] e339bb: [AArch64][GlobalISel] Fix manual selection for v4s...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Wed Feb 24 10:23:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e339bba637b941c8e78057319b7654c4babf18cb
      https://github.com/llvm/llvm-project/commit/e339bba637b941c8e78057319b7654c4babf18cb
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/select-dup.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Fix manual selection for v4s16 and v8s8 G_DUP

The manual G_DUP selection code would produce DUPv16i8 for v8s8s and DUPv8i16
for v4s16.

This adds the missing cases to the manual selection code, and makes it return
false when there is an unexpected size.

Update select-dup.mir to reflect the change.

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




More information about the All-commits mailing list