[PATCH] D149167: [TTI] Add getPHICost to better cost phi operands. NFCI
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 10:22:57 PDT 2023
ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.
LG with a nit
================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:1267
+ getPHICost(Type *Ty, TTI::TargetCostKind CostKind = TTI::TCK_SizeAndLatency,
+ ArrayRef<OperandValueInfo> OpInfos = {},
+ const Instruction *I = nullptr) const;
----------------
std::nullopt instead of {}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149167/new/
https://reviews.llvm.org/D149167
More information about the llvm-commits
mailing list