diff options
author | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-02-26 18:07:35 +0000 |
---|---|---|
committer | Sumanth Gundapaneni <sgundapa@codeaurora.org> | 2015-02-26 18:07:35 +0000 |
commit | a9049ea36848df64e26d3c11a11dd393fb469e79 (patch) | |
tree | 54f21f1c06ab32001f527d25430f11cd303433d8 /llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp | |
parent | 947efbc138b30250da0baf6c4fe0f19b236dfc2c (diff) | |
download | bcm5719-llvm-a9049ea36848df64e26d3c11a11dd393fb469e79.tar.gz bcm5719-llvm-a9049ea36848df64e26d3c11a11dd393fb469e79.zip |
Use ".arch_extension" ARM directive to specify the additional CPU features
This patch is in response to r223147 where the avaiable features are
computed based on ".cpu" directive. This will work clean for the standard
variants like cortex-a9. For custom variants which rely on standard cpu names
for assembly, the additional features of a CPU should be propagated. This can be
done via ".arch_extension" as long as the assembler supports it. The
implementation for krait along with unit test will be submitted in next patch.
llvm-svn: 230650
Diffstat (limited to 'llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp b/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp index 8acd7aff6bc..b680db5c3a7 100644 --- a/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp +++ b/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp @@ -63,6 +63,7 @@ void ARMTargetStreamer::emitIntTextAttribute(unsigned Attribute, unsigned IntValue, StringRef StringValue) {} void ARMTargetStreamer::emitArch(unsigned Arch) {} +void ARMTargetStreamer::emitArchExtension(unsigned ArchExt) {} void ARMTargetStreamer::emitObjectArch(unsigned Arch) {} void ARMTargetStreamer::emitFPU(unsigned FPU) {} void ARMTargetStreamer::finishAttributeSection() {} |