summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-16 22:37:03 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-16 22:37:03 +0000
commite0098928c9dfd8ae359efdb2de1fa5c658f7ad87 (patch)
tree8774ca0f8c6423a5222c1863286ce7e7af7fc2bd /llvm/lib/Target/X86
parent48369d1b8e34635257ecc2d09cae16e1eb3f28ad (diff)
downloadbcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.tar.gz
bcm5719-llvm-e0098928c9dfd8ae359efdb2de1fa5c658f7ad87.zip
Delete getAliasedGlobal.
llvm-svn: 209040
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/X86AsmPrinter.cpp2
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp2
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.cpp b/llvm/lib/Target/X86/X86AsmPrinter.cpp
index 6ed2c9cfac5..68e136bd776 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86AsmPrinter.cpp
@@ -675,7 +675,7 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
continue;
while (const GlobalAlias *A = dyn_cast<GlobalAlias>(GV))
- GV = A->getAliasedGlobal();
+ GV = A->getAliasee();
if (isa<Function>(GV))
DLLExportedFns.push_back(getSymbol(&Alias));
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 571ecc2b415..56bcfa30ff9 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/lib/Target/X86/X86FastISel.cpp
@@ -363,7 +363,7 @@ bool X86FastISel::handleConstantAddresses(const Value *V, X86AddressMode &AM) {
// it works...).
if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
if (const GlobalVariable *GVar =
- dyn_cast_or_null<GlobalVariable>(GA->getAliasedGlobal()))
+ dyn_cast_or_null<GlobalVariable>(GA->getAliasee()))
if (GVar->isThreadLocal())
return false;
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 8c9cc60f0f0..df8413e9fe0 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -8824,7 +8824,7 @@ X86TargetLowering::LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG) const {
// If GV is an alias then use the aliasee for determining
// thread-localness.
if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
- GV = GA->getAliasedGlobal();
+ GV = GA->getAliasee();
SDLoc dl(GA);
SDValue Chain = DAG.getEntryNode();
OpenPOWER on IntegriCloud