[all-commits] [llvm/llvm-project] c7878a: [VFDatabase] Scalar functions are vector functions...

Anh Tuyen Tran via All-commits all-commits at lists.llvm.org
Wed Apr 29 10:21:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c7878ad231ee2bb3a245394e952038da55b96000
      https://github.com/llvm/llvm-project/commit/c7878ad231ee2bb3a245394e952038da55b96000
  Author: Anh Tuyen Tran <anhtuyen at ca.ibm.com>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/vectorizeVFone.ll
    M llvm/unittests/Analysis/VectorUtilsTest.cpp

  Log Message:
  -----------
  [VFDatabase] Scalar functions are vector functions with VF =1

Summary:
Return scalar function when VF==1. The new trivial mapping scalar --> scalar when VF==1 to prevent false positive for "isVectorizable" query.

Author: masoud.ataei (Masoud Ataei)

Reviewers: Whitney (Whitney Tsang), fhahn (Florian Hahn), pjeeva01 (Jeeva P.), fpetrogalli (Francesco Petrogalli), rengolin (Renato Golin)

Reviewed By: fpetrogalli (Francesco Petrogalli)

Subscribers: hiraditya (Aditya Kumar), llvm-commits, LLVM

Tag: LLVM

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




More information about the All-commits mailing list