[all-commits] [llvm/llvm-project] 8f9549: [InstCombine] Refactor fixed and scalable binop sh...

Luke Lau via All-commits all-commits at lists.llvm.org
Sat May 24 07:16:38 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f9549c41428b6e81b8dd46c4d00987c6b425448
      https://github.com/llvm/llvm-project/commit/8f9549c41428b6e81b8dd46c4d00987c6b425448
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-05-24 (Sat, 24 May 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/InstCombine/vec_shuffle.ll

  Log Message:
  -----------
  [InstCombine] Refactor fixed and scalable binop shuffle combine. NFCI (#141287)

This extracts the logic that works out the "unshuffled" constant when
pulling shuffle vectors out of binary ops, so the same combine can be
generic over fixed and scalable vectors.

The plan is to reuse this helper to do the same canonicalization on
intrinsics too.



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