[all-commits] [llvm/llvm-project] 53be6a: [ARM] Fix MVE getShuffleCost legalized type check

David Green via All-commits all-commits at lists.llvm.org
Tue Jun 7 06:36:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53be6ab25cb97338384b9a73a4eef47cf3b89f3b
      https://github.com/llvm/llvm-project/commit/53be6ab25cb97338384b9a73a4eef47cf3b89f3b
  Author: David Green <david.green at arm.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/ARM/shuffle.ll

  Log Message:
  -----------
  [ARM] Fix MVE getShuffleCost legalized type check

The MVE shuffle costing for VREV instructions was making incorrect
assumptions as to legalized vector types remaining as vectors. Add a
quick check to ensure they are indeed vectors before attempting to get
the number of elements.




More information about the All-commits mailing list