[all-commits] [llvm/llvm-project] d2dcff: [Alignment][NFC] VectorLayout now uses Align inter...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Jul 2 04:26:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d2dcff60fe230bf5e5f7aeae931c982af4ef3721
      https://github.com/llvm/llvm-project/commit/d2dcff60fe230bf5e5f7aeae931c982af4ef3721
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2020-07-02 (Thu, 02 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp

  Log Message:
  -----------
  [Alignment][NFC] VectorLayout now uses Align internally

By rewritting `ScalarizerVisitor::getVectorLayout` in such a way it returns `VectorLayout` (or `None`) it becomes obvious that `VectorLayout::VecAlign` cannot be `0`.

This patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790

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




More information about the All-commits mailing list