We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6ec6a commit 28b52abCopy full SHA for 28b52ab
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
@@ -1130,7 +1130,7 @@ class TargetTransformInfoImplCRTPBase : public TargetTransformInfoImplBase {
1130
// destination type of the trunc instruction rather than the load to
1131
// accurately estimate the cost of this load instruction.
1132
if (CostKind == TTI::TCK_CodeSize && LI->hasOneUse() &&
1133
- !LoadType->isVectorTy()) {
+ !LoadType->isVectorTy()) {
1134
if (const TruncInst *TI = dyn_cast<TruncInst>(*LI->user_begin()))
1135
LoadType = TI->getDestTy();
1136
}
0 commit comments