[all-commits] [llvm/llvm-project] 9ad7c9: [SVE] Don't consider scalable vector types in SLPV...

david-arm via All-commits all-commits at lists.llvm.org
Wed Jul 29 08:29:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ad7c980bb47edd7db8f8db828b487cc7dfc9921
      https://github.com/llvm/llvm-project/commit/9ad7c980bb47edd7db8f8db828b487cc7dfc9921
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalable-vector.ll

  Log Message:
  -----------
  [SVE] Don't consider scalable vector types in SLPVectorizerPass::vectorizeChainsInBlock

In vectorizeChainsInBlock we try to collect chains of PHI nodes
that have the same element type, but the code is relying upon
the implicit conversion from TypeSize -> uint64_t. For now, I have
modified the code to ignore PHI nodes with scalable types.

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




More information about the All-commits mailing list