diff options
author | Bradley Smith <bradley.smith@arm.com> | 2013-11-01 13:27:35 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2013-11-01 13:27:35 +0000 |
commit | 6186de5c54b580414b2d162e0f335b62b3d9812c (patch) | |
tree | b3344d5f6878a35572e91d1bd11679795623afed /lib/Target/ARM/ARMSubtarget.cpp | |
parent | 479a2de32a994b1902869b88e56253936d943531 (diff) | |
download | llvm-6186de5c54b580414b2d162e0f335b62b3d9812c.tar.gz llvm-6186de5c54b580414b2d162e0f335b62b3d9812c.tar.bz2 llvm-6186de5c54b580414b2d162e0f335b62b3d9812c.tar.xz |
[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
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.cpp b/lib/Target/ARM/ARMSubtarget.cpp index db9792a836..392b6f590e 100644 --- a/lib/Target/ARM/ARMSubtarget.cpp +++ b/lib/Target/ARM/ARMSubtarget.cpp @@ -108,6 +108,7 @@ void ARMSubtarget::initializeEnvironment() { AvoidMOVsShifterOperand = false; HasRAS = false; HasMPExtension = false; + HasVirtualization = false; FPOnlySP = false; HasPerfMon = false; HasTrustZone = false; |