[PATCH] D70192: [LoopCacheAnalysis]: Fix assertion failure during cost computation
Rachel Craik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 13:10:07 PST 2019
rcraik marked an inline comment as done.
rcraik added inline comments.
================
Comment at: llvm/lib/Analysis/LoopCacheAnalysis.cpp:286
const SCEV *CacheLineSize = SE.getConstant(Stride->getType(), CLS);
+ Type *WiderType = SE.getWiderType(Stride->getType(), TripCount->getType());
+ Stride = SE.getNoopOrAnyExtend(Stride, WiderType);
----------------
bmahjour wrote:
> const Type *WiderType?
ScalarEvolution::getNoopOrAnyExtend does not take a constant type
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70192/new/
https://reviews.llvm.org/D70192
More information about the llvm-commits
mailing list