[all-commits] [llvm/llvm-project] f031df: [AArch64] Don't look at type size for scalable typ...

David Green via All-commits all-commits at lists.llvm.org
Thu Jun 15 00:47:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f031df21aaadf0ec7a5b697bb75e44656aba4abf
      https://github.com/llvm/llvm-project/commit/f031df21aaadf0ec7a5b697bb75e44656aba4abf
  Author: David Green <david.green at arm.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll

  Log Message:
  -----------
  [AArch64] Don't look at type size for scalable types in isExtFreeImpl

This fixes one of those 'Request for a fixed element count on a scalable
object' errors in the AArch64 isExtFreeImpl method, where the uses of a sext
are checked to see if the instruction can be considered free.
https://godbolt.org/z/debYP9c4G

Differential Revision: https://reviews.llvm.org/D152930




More information about the All-commits mailing list