diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-12-13 18:45:54 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-12-13 18:45:54 +0000 |
commit | 732eb91f0589bcbb0832ac359fd8d01dd19877c8 (patch) | |
tree | c9946b3eae74287ba563dde79c4840157d1263d9 /llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | |
parent | 05394352c019da94e9ece722492ced494b2bedb1 (diff) | |
download | llvm-732eb91f0589bcbb0832ac359fd8d01dd19877c8.zip llvm-732eb91f0589bcbb0832ac359fd8d01dd19877c8.tar.gz llvm-732eb91f0589bcbb0832ac359fd8d01dd19877c8.tar.bz2 |
This is just a clean-up patch that simplifies the initial-exec TLS logic by
avoiding use of machine operand flags. No change in observable behavior, so
no new test cases.
llvm-svn: 170141
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMCInstLower.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp b/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp index 1c4af90..73f7a2c 100644 --- a/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp +++ b/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp @@ -114,12 +114,6 @@ static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, break; case PPCII::MO_TPREL16_LO: RefKind = MCSymbolRefExpr::VK_PPC_TPREL16_LO; break; - case PPCII::MO_GOT_TPREL16_DS: - RefKind = MCSymbolRefExpr::VK_PPC_GOT_TPREL16_DS; - break; - case PPCII::MO_TLS: - RefKind = MCSymbolRefExpr::VK_PPC_TLS; - break; } // FIXME: This isn't right, but we don't have a good way to express this in |