diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-16 22:37:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-16 22:37:03 +0000 |
commit | e0098928c9dfd8ae359efdb2de1fa5c658f7ad87 (patch) | |
tree | 8774ca0f8c6423a5222c1863286ce7e7af7fc2bd /llvm/lib/Target/PowerPC/PPCFastISel.cpp | |
parent | 48369d1b8e34635257ecc2d09cae16e1eb3f28ad (diff) | |
download | bcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.tar.gz bcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.zip |
Delete getAliasedGlobal.
llvm-svn: 209040
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCFastISel.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCFastISel.cpp b/llvm/lib/Target/PowerPC/PPCFastISel.cpp index 266ca421362..c0c495fa9ae 100644 --- a/llvm/lib/Target/PowerPC/PPCFastISel.cpp +++ b/llvm/lib/Target/PowerPC/PPCFastISel.cpp @@ -1864,7 +1864,7 @@ unsigned PPCFastISel::PPCMaterializeGV(const GlobalValue *GV, MVT VT) { if (!GVar) { // If GV is an alias, use the aliasee for determining thread-locality. if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV)) - GVar = dyn_cast_or_null<GlobalVariable>(GA->getAliasedGlobal()); + GVar = dyn_cast_or_null<GlobalVariable>(GA->getAliasee()); } // FIXME: We don't yet handle the complexity of TLS. |