[all-commits] [llvm/llvm-project] 4b7913: [VectorCombine] Only consider shuffle uses with th...

David Green via All-commits all-commits at lists.llvm.org
Sat Jul 16 05:23:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b7913c357335a6cbb25bf3051c319cdc0e7772f
      https://github.com/llvm/llvm-project/commit/4b7913c357335a6cbb25bf3051c319cdc0e7772f
  Author: David Green <david.green at arm.com>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

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

  Log Message:
  -----------
  [VectorCombine] Only consider shuffle uses with the same type.

The backend getShuffleCosts do not currently handle shuffles that change
size very well. Limit the shuffles we collect to the same type to make
sure they do not cause issues as reported in D128732.




More information about the All-commits mailing list