[ARM] Add Virtualization subtarget feature and more build attributes in this area
authorBradley Smith <bradley.smith@arm.com>
Fri, 1 Nov 2013 13:27:35 +0000 (13:27 +0000)
committerBradley Smith <bradley.smith@arm.com>
Fri, 1 Nov 2013 13:27:35 +0000 (13:27 +0000)
commit6186de5c54b580414b2d162e0f335b62b3d9812c
treeb3344d5f6878a35572e91d1bd11679795623afed
parent479a2de32a994b1902869b88e56253936d943531
[ARM] Add Virtualization subtarget feature and more build attributes in this area

Add a Virtualization ARM subtarget feature along with adding proper build
attribute emission for Tag_Virtualization_use (encodes Virtualization and
TrustZone) and Tag_MPextension_use.

Also rework test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll testcase to
something that is more maintainable. This changes the focus of this
testcase away from testing CPU defaults (which is tested elsewhere), onto
specifically testing that attributes are encoded correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMAsmPrinter.cpp
lib/Target/ARM/ARMBuildAttrs.h
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/CodeGen/ARM/2010-09-29-mc-asm-header-test.ll
test/CodeGen/ARM/2010-10-19-mc-elf-objheader.ll [deleted file]
test/CodeGen/ARM/build-attributes-encoding.s [new file with mode: 0644]