[all-commits] [llvm/llvm-project] ccfe7d: [GlobalIsel] Cleanup G_EXTRACT_VECTOR_ELT combines...

Thorsten Schütt via All-commits all-commits at lists.llvm.org
Thu Sep 19 11:36:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccfe7d4b20819a0bf8552b81b60593b76b89e65c
      https://github.com/llvm/llvm-project/commit/ccfe7d4b20819a0bf8552b81b60593b76b89e65c
  Author: Thorsten Schütt <schuett at gmail.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir

  Log Message:
  -----------
  [GlobalIsel] Cleanup G_EXTRACT_VECTOR_ELT combines (#109047)

Reduce duplicated build vector patterns by exploiting variadic args.
Make index parameter const to improve hit rate.
Use `getIConstantFromReg` to retrieve immediate because they are not
fallible anymore.
Improve extraction from build vector and shuffle vector.



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