[PATCH] [ARM] Improve build attributes emission
Amara Emerson
amara.emerson at arm.com
Mon Oct 7 08:03:55 PDT 2013
I've rebased the patch on Tim's latest changes to CM-0 and him adding the new v6M subtarget arch. He left out some changes such as subtarget hooks which I've added in this patch, and I've also fixed the triple parsing to properly set the right subtarget feature when it detects a thumbv6m arch string.
Also in this change:
- Modified v7EM check to not use a cortex-m4 special case.
- For vfpv4, check for single precision only when emitting Tag_FP_arch.
- Add a test case to ensure that the Tag_ABI_FP_{normal, exceptions, number_model} are only emitted when vfp is enabled.
http://llvm-reviews.chandlerc.com/D1811
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D1811?vs=4661&id=4704#toc
Files:
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/ARMBuildAttrs.h
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll
test/MC/ARM/xscale-attributes.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1811.3.patch
Type: text/x-patch
Size: 17546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131007/92e7b0d6/attachment.bin>
More information about the llvm-commits
mailing list