Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index c903249c07565c4d3afbb59ac5e017934902280a..d0535d171a2fce20768a46fa541350fbfb44d766 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -859,7 +859,7 @@ template <> void InstARM32Movw::emit(const Cfg *Func) const { |
getDest()->emit(Func); |
Str << ", "; |
Constant *Src0 = llvm::cast<Constant>(getSrc(0)); |
- if (auto CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) { |
+ if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) { |
Str << "#:lower16:"; |
CR->emitWithoutPrefix(Func->getTarget()); |
} else { |
@@ -877,7 +877,7 @@ template <> void InstARM32Movt::emit(const Cfg *Func) const { |
Str << "\t" << Opcode << getPredicate() << "\t"; |
Dest->emit(Func); |
Str << ", "; |
- if (auto CR = llvm::dyn_cast<ConstantRelocatable>(Src1)) { |
+ if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src1)) { |
Str << "#:upper16:"; |
CR->emitWithoutPrefix(Func->getTarget()); |
} else { |