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 | ad6d7f58c7d66c8caa6be712d4e68ea5841c6045 (patch) | |
tree | da8256dfc4af02a312c94eb36260ad5e7339adbb /lib/Target/PowerPC/PPCFastISel.cpp | |
parent | b3e18972ef3b8c408269c785438c66b8c6771fbf (diff) | |
download | llvm-ad6d7f58c7d66c8caa6be712d4e68ea5841c6045.tar.gz llvm-ad6d7f58c7d66c8caa6be712d4e68ea5841c6045.tar.bz2 llvm-ad6d7f58c7d66c8caa6be712d4e68ea5841c6045.tar.xz |
Delete getAliasedGlobal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCFastISel.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCFastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCFastISel.cpp b/lib/Target/PowerPC/PPCFastISel.cpp index 266ca42136..c0c495fa9a 100644 --- a/lib/Target/PowerPC/PPCFastISel.cpp +++ b/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. |