]> granicus.if.org Git - clang/commit
[mips] Support `micromips` attribute
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 22 May 2017 12:47:43 +0000 (12:47 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 22 May 2017 12:47:43 +0000 (12:47 +0000)
commit22a0a8c31ea7edcb0a01764b49824fbffa5f735b
tree62f85169f91f5dd0f057d04edad3113b48de27f5
parent51ee6cef43b88fc860d5263b80d2327a05d1c581
[mips] Support `micromips` attribute

This patch adds support for the `micromips` and `nomicromips` attributes
for MIPS targets.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303546 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
lib/CodeGen/TargetInfo.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGen/micromips-attr.c [new file with mode: 0644]
test/Misc/pragma-attribute-supported-attributes-list.test
test/Sema/attr-micromips.c [new file with mode: 0644]