[llvm-commits] [llvm] r132676 - in /llvm/trunk: lib/CodeGen/SelectionDAG/FastISel.cpp test/CodeGen/X86/fast-isel-agg-constant.ll
Roman Divacky
rdivacky at freebsd.org
Mon Jun 6 08:38:22 PDT 2011
Hi there,
MC currently hardcodes the raw text emission of VK_PPC_HA16/VK_PPC_LO16
symbols to the darwin format, ie:
ha16(symbol) and lo16(symbol)
Gnu as accepts this format:
symbol at ha and symbol at l
The attached patch splits VK_PPC_HA16/VK_PPC_LO16 into
VK_PPC_DARWIN_HA16,
VK_PPC_DARWIN_LO16,
VK_PPC_GAS_HA16,
VK_PPC_GAS_LO16
using each variant based on whether the target is darwin.
This enables LLVM to be used on PowerPC64 on non-darwin platforms
(tested on FreeBSD).
OK to commit? Or is there a better way to distinguish those two
asm dialects?
roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: powerpc64.patch
Type: text/x-diff
Size: 5787 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110606/4deb1f36/attachment.patch>
More information about the llvm-commits
mailing list