Skip to content

Commit 7cd27b8

Browse files
committed
Reinstate auto but with *, as recommended in review
1 parent ffba6fb commit 7cd27b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ bool TargetTransformInfo::hasBranchDivergence(const Function *F) const {
292292
}
293293

294294
bool TargetTransformInfo::isSourceOfDivergence(const Value *V) const {
295-
if (const CallBase *Call = dyn_cast<CallBase>(V)) {
295+
if (auto *Call = dyn_cast<CallBase>(V)) {
296296
if (Call->hasFnAttr(Attribute::NoDivergenceSource))
297297
return false;
298298
}

0 commit comments

Comments
 (0)