[ARM] Add support for armv7e-m to the .arch directive
authorOliver Stannard <oliver.stannard@arm.com>
Wed, 29 Nov 2017 10:12:15 +0000 (10:12 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Wed, 29 Nov 2017 10:12:15 +0000 (10:12 +0000)
commit9ea2eaeb505a5bc6dc8bd45a6dce3155c87f1214
tree8f7b43f64a451e7f7e43ebc65065e47c1f7e7199
parentd4df744434100b9322dc2ed049192502b0f1f5bd
[ARM] Add support for armv7e-m to the .arch directive

This will allow compilation of assembly files targeting armv7e-m without having
to specify the Tag_CPU_arch attribute as a workaround.

Differential revision: https://reviews.llvm.org/D40370

Patch by Ian Tessier!

llvm-svn: 319303
llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
llvm/test/CodeGen/ARM/build-attributes.ll
llvm/test/MC/ARM/directive-arch-armv7e-m.s [new file with mode: 0644]
llvm/test/MC/ARM/directive-arch-armv7em.s [new file with mode: 0644]