[all-commits] [llvm/llvm-project] f571fe: Reland [LoopVectorizer] NFCI: Calculate register u...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Nov 17 05:47:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f571fe6df585127d8b045f8e8f5b4e59da9bbb73
      https://github.com/llvm/llvm-project/commit/f571fe6df585127d8b045f8e8f5b4e59da9bbb73
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  Reland [LoopVectorizer] NFCI: Calculate register usage based on TLI.getTypeLegalizationCost.

This relands https://reviews.llvm.org/D91059 and reverts commit
30fded75b48bcbc034120154a57a00c7f3d07e06.

GetRegUsage now returns 0 when Ty is not a valid vector element type.




More information about the All-commits mailing list