Skip to content

Commit 5307040

Browse files
authored
[NFC] Fix auto* warning (#135765)
1 parent b4017d8 commit 5307040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ void State::addInfoFor(BasicBlock &BB) {
10901090
bool GuaranteedToExecute = true;
10911091
// Queue conditions and assumes.
10921092
for (Instruction &I : BB) {
1093-
if (auto Cmp = dyn_cast<ICmpInst>(&I)) {
1093+
if (auto *Cmp = dyn_cast<ICmpInst>(&I)) {
10941094
for (Use &U : Cmp->uses()) {
10951095
auto *UserI = getContextInstForUse(U);
10961096
auto *DTN = DT.getNode(UserI->getParent());

0 commit comments

Comments
 (0)