[PATCH] D109388: [AArch64][CostModel] Use cost of target trunc type when only use of a non-register sized load
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 13 11:29:38 PDT 2021
paquette added inline comments.
================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:1033
+ !LoadType->isVectorTy()) {
+ if (const TruncInst *TI = dyn_cast<TruncInst>(*LI->user_begin()))
+ LoadType = TI->getDestTy();
----------------
comment explaining why?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109388/new/
https://reviews.llvm.org/D109388
More information about the llvm-commits
mailing list