Index: src/IceTargetLoweringX8664.cpp |
diff --git a/src/IceTargetLoweringX8664.cpp b/src/IceTargetLoweringX8664.cpp |
index ceaaede2e46e5b4d4dcc172e1b03300913fe83e5..1ef6c43274562cd84e036326eaf7bacc0cf8b831 100644 |
--- a/src/IceTargetLoweringX8664.cpp |
+++ b/src/IceTargetLoweringX8664.cpp |
@@ -783,7 +783,7 @@ void TargetDataX8664::emitConstantPool(GlobalContext *Ctx) { |
for (Constant *C : Pool) { |
if (!C->getShouldBePooled()) |
continue; |
- typename T::IceType *Const = llvm::cast<typename T::IceType>(C); |
+ auto *Const = llvm::cast<typename T::IceType>(C); |
typename T::IceType::PrimType Value = Const->getValue(); |
// Use memcpy() to copy bits from Value into RawValue in a way that avoids |
// breaking strict-aliasing rules. |