[all-commits] [llvm/llvm-project] a400aa: [SVE] Fix getAlignmentInfo for scalable vectors

david-arm via All-commits all-commits at lists.llvm.org
Wed May 6 23:53:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a400aa5faf7811c4ff719c312e03b8bd7543f8bf
      https://github.com/llvm/llvm-project/commit/a400aa5faf7811c4ff719c312e03b8bd7543f8bf
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M llvm/lib/IR/DataLayout.cpp

  Log Message:
  -----------
  [SVE] Fix getAlignmentInfo for scalable vectors

When calculating the natural alignment for scalable vectors it
is acceptable to calculate an allocation size based on the minimum
number of elements in the vector.

This code path is exercised by an existing test:

  CodeGen/AArch64/sve-intrinsics-int-arith.ll

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




More information about the All-commits mailing list