[all-commits] [llvm/llvm-project] 98f526: [VectorUtils] Move ToVectorTy to VectorUtils.h (NFC).

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Feb 21 09:32:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98f5268a7292c2996e2f718382e2d5404eb5d112
      https://github.com/llvm/llvm-project/commit/98f5268a7292c2996e2f718382e2d5404eb5d112
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Transforms/Utils/InjectTLIMappings.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [VectorUtils] Move ToVectorTy to VectorUtils.h (NFC).

ToVectorTy is defined and used in multiple places. Hoist it to
VectorUtils.h to avoid duplication and improve re-usability.

Reviewers: rengolin, hsaito, Ayal, gilr, fpetrogalli

Reviewed By: fpetrogalli

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




More information about the All-commits mailing list