[PATCH] D36208: [mips] Enable target-specific attributes for MIPS64

Simon Atanasyan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 22:18:35 PDT 2017


atanasyan created this revision.
atanasyan added a project: clang.
Herald added a subscriber: arichardson.

This change enables `long_call/short_call/far/near`, `micromips`, and `interrupt` attributes on MIPS64 targets. In case of using the `mips16` attribute with any ABI except `O32` compiler shows an error.


Repository:
  rL LLVM

https://reviews.llvm.org/D36208

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/long-call-attr.c
  test/CodeGen/micromips-attr.c
  test/CodeGen/mips-interrupt-attr.c
  test/Sema/attr-long-call.c
  test/Sema/attr-micromips64.c
  test/Sema/mips-interrupt-attr64.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36208.109272.patch
Type: text/x-patch
Size: 7564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170802/ab4f279f/attachment-0001.bin>


More information about the cfe-commits mailing list