[all-commits] [llvm/llvm-project] af39ac: [VectorCombine] fix insertion point of shuffles

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Feb 10 08:06:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af39acda8873cc75db116e326588447f018a99d9
      https://github.com/llvm/llvm-project/commit/af39acda8873cc75db116e326588447f018a99d9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-02-10 (Fri, 10 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    A llvm/test/Transforms/VectorCombine/X86/select-shuffle.ll

  Log Message:
  -----------
  [VectorCombine] fix insertion point of shuffles

As shown in issue #60649, the new shuffles were
being inserted before a phi, and that is invalid.

It seems like most test coverage for this fold
(foldSelectShuffle) lives in the AArch64 dir,
but this doesn't repro there for a base target.




More information about the All-commits mailing list