[all-commits] [llvm/llvm-project] 511d5a: [Transforms][SROA] Skip uses of allocas where the ...

Cullen Rhodes via All-commits all-commits at lists.llvm.org
Wed Aug 12 02:36:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 511d5aaca37a31d806470aac9e2ee7ff6ce6247c
      https://github.com/llvm/llvm-project/commit/511d5aaca37a31d806470aac9e2ee7ff6ce6247c
  Author: Cullen Rhodes <cullen.rhodes at arm.com>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/scalable-vectors.ll

  Log Message:
  -----------
  [Transforms][SROA] Skip uses of allocas where the type is scalable

When visiting load and store instructions in SROA skip scalable vectors.
This is relevant in the implementation of the 'arm_sve_vector_bits'
attribute that is used to define VLS types, where an alloca of a
fixed-length vector could be bitcasted to scalable. See D85128 for more
information.

Reviewed By: efriedma

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




More information about the All-commits mailing list