[all-commits] [llvm/llvm-project] 263a00: [COST][AARCH64]Fix crash in cost calculation for s...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Oct 2 07:53:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 263a00fa910bd9d19c8590ad9f7ae1bdd9d76c02
      https://github.com/llvm/llvm-project/commit/263a00fa910bd9d19c8590ad9f7ae1bdd9d76c02
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/shuffle-vectors-mask-size.ll

  Log Message:
  -----------
  [COST][AARCH64]Fix crash in cost calculation for shuffles.

Need to take the mask size as number of elements, not the number of
elements of the original fixed vector. Otherwise, the compiler may
crash.




More information about the All-commits mailing list