[all-commits] [llvm/llvm-project] 821935: [AArch64][GlobalISel] Combine Shuffles of G_CONCAT...

chuongg3 via All-commits all-commits at lists.llvm.org
Mon Apr 22 02:47:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 821935bb55449f708f822d0e381164ebbc33483c
      https://github.com/llvm/llvm-project/commit/821935bb55449f708f822d0e381164ebbc33483c
  Author: chuongg3 <chuong.goh at arm.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/combine-shufflevector.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Combine Shuffles of G_CONCAT_VECTORS (#87489)

Combines G_SHUFFLE_VECTOR whose sources comes from G_CONCAT_VECTORS into
a single G_CONCAT_VECTORS instruction.

a = G_CONCAT_VECTORS x, y, undef, undef
b = G_CONCAT_VECTORS z, undef, undef, undef
c = G_SHUFFLE_VECTORS a, b, <0, 1, 4, undef>
===>
c = G_CONCAT_VECTORS x, y, z, undef`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list