[all-commits] [llvm/llvm-project] 01b874: [NFC][Analysis] Change struct VecDesc to use Eleme...

david-arm via All-commits all-commits at lists.llvm.org
Fri Feb 12 03:08:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01b87444cb02c38147dccc7049b32675de860d47
      https://github.com/llvm/llvm-project/commit/01b87444cb02c38147dccc7049b32675de860d47
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/include/llvm/Analysis/VecFuncs.def
    M llvm/include/llvm/Support/TypeSize.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Transforms/Utils/InjectTLIMappings.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp

  Log Message:
  -----------
  [NFC][Analysis] Change struct VecDesc to use ElementCount

This patch changes the VecDesc struct to use ElementCount
instead of an unsigned VF value, in preparation for
future work that adds support for vectorized versions of
math functions using scalable vectors. Since all I'm doing
in this patch is switching the type I believe it's a
non-functional change. I changed getWidestVF to now return
both the widest fixed-width and scalable VF values, but
currently the widest scalable value will be zero.

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




More information about the All-commits mailing list