diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2014-03-06 11:22:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2014-03-06 11:22:58 +0000 |
commit | 21f5d68a17540448121c80a4f8aa9e7342d6c58f (patch) | |
tree | aba91558aafdfb3f688a1392decc4c29857cfd72 /llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp | |
parent | 28c111ec8a8eb00716144933c4c6b2df96a10603 (diff) | |
download | bcm5719-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.cpp | 2 |
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; |