[all-commits] [llvm/llvm-project] 7d6017: [TTI] Change new getVectorInstrCost overload to us...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Aug 4 15:17:04 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d6017fd311280937726e565655fdd5a5c4d0e4d
https://github.com/llvm/llvm-project/commit/7d6017fd311280937726e565655fdd5a5c4d0e4d
Author: Fangrui Song <i at maskray.me>
Date: 2022-08-04 (Thu, 04 Aug 2022)
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/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
Log Message:
-----------
[TTI] Change new getVectorInstrCost overload to use const reference after D131114
A const reference is preferred over a non-null const pointer.
`Type *` is kept as is to match the other overload.
Reviewed By: davidxl
Differential Revision: https://reviews.llvm.org/D131197
More information about the All-commits
mailing list