Index: src/IceRegAlloc.cpp |
diff --git a/src/IceRegAlloc.cpp b/src/IceRegAlloc.cpp |
index 908020f860b51cf38fccf4005faee0ed77cdd7bf..6b8656b76e2aaef589d1592bc9b126aab65cdfc0 100644 |
--- a/src/IceRegAlloc.cpp |
+++ b/src/IceRegAlloc.cpp |
@@ -123,7 +123,7 @@ void LinearScan::initForGlobal() { |
return; |
for (CfgNode *Node : Func->getNodes()) { |
for (Inst &I : Node->getInsts()) { |
- if (auto Kill = llvm::dyn_cast<InstFakeKill>(&I)) { |
+ if (auto *Kill = llvm::dyn_cast<InstFakeKill>(&I)) { |
if (!Kill->isDeleted() && !Kill->getLinked()->isDeleted()) |
Kills.push_back(I.getNumber()); |
} |