diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:22:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-14 22:22:59 +0000 |
commit | 6135a96792ca05f6366e5dbaee6208e84589c47f (patch) | |
tree | d100f6fc0fecfd40fe9592f94ad83df0062e0f6a /include/llvm | |
parent | 261bc89fa15d3322c714aa72a19ba827e3546ca7 (diff) | |
download | external_llvm-6135a96792ca05f6366e5dbaee6208e84589c47f.tar.gz external_llvm-6135a96792ca05f6366e5dbaee6208e84589c47f.tar.bz2 external_llvm-6135a96792ca05f6366e5dbaee6208e84589c47f.zip |
reimplement ppc asmprinter "toc" handling to use a VariantKind
on the operand, required for .o file writing and fixing
the PowerPC/mult-alt-generic-powerpc64.ll failure with the new
instprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCExpr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/MC/MCExpr.h b/include/llvm/MC/MCExpr.h index 3f25dc0562..22b1447b95 100644 --- a/include/llvm/MC/MCExpr.h +++ b/include/llvm/MC/MCExpr.h @@ -141,6 +141,7 @@ public: VK_TLSLDM, VK_TPOFF, VK_DTPOFF, + VK_TLVP, // Mach-O thread local variable relocation VK_ARM_HI16, // The R_ARM_MOVT_ABS relocation (:upper16: in the .s file) VK_ARM_LO16, // The R_ARM_MOVW_ABS_NC relocation (:lower16: in the .w file) // FIXME: We'd really like to use the generic Kinds listed above for these. @@ -150,7 +151,8 @@ public: VK_ARM_GOTOFF, VK_ARM_TPOFF, VK_ARM_GOTTPOFF, - VK_TLVP // Mach-O thread local variable relocation + + VK_PPC_TOC }; private: |