summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-03-06 11:22:58 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2014-03-06 11:22:58 +0000
commit21f5d68a17540448121c80a4f8aa9e7342d6c58f (patch)
treeaba91558aafdfb3f688a1392decc4c29857cfd72 /llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
parent28c111ec8a8eb00716144933c4c6b2df96a10603 (diff)
downloadbcm5719-llvm-21f5d68a17540448121c80a4f8aa9e7342d6c58f.tar.gz
bcm5719-llvm-21f5d68a17540448121c80a4f8aa9e7342d6c58f.zip
[SystemZ] Use "auto" for cast results
No functional change intended. llvm-svn: 203106
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp b/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
index 6c7081169a9..19cec219e2d 100644
--- a/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp
@@ -43,7 +43,7 @@ getExistingMachineCPValue(MachineConstantPool *CP, unsigned Alignment) {
for (unsigned I = 0, E = Constants.size(); I != E; ++I) {
if (Constants[I].isMachineConstantPoolEntry() &&
(Constants[I].getAlignment() & AlignMask) == 0) {
- SystemZConstantPoolValue *ZCPV =
+ auto *ZCPV =
static_cast<SystemZConstantPoolValue *>(Constants[I].Val.MachineCPVal);
if (ZCPV->GV == GV && ZCPV->Modifier == Modifier)
return I;
OpenPOWER on IntegriCloud