[PATCH] D35479: [CodeGen][mips] Support `long_call/far/near` attributes

Simon Atanasyan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 18 15:41:03 PDT 2017


atanasyan updated this revision to Diff 107193.
atanasyan added a comment.

Addressed review comment:

- Split MipsLongCall into a couple of attributes MipsLongCall and MipsShortCall.
- Change the documentation wording.
- Keep the attributes handling in the setTargetAttributes.
- Show error in case of combining incompatible attributes.


Repository:
  rL LLVM

https://reviews.llvm.org/D35479

Files:
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/TargetInfo.cpp
  lib/Sema/SemaDeclAttr.cpp
  test/CodeGen/long-call-attr.c
  test/Misc/pragma-attribute-supported-attributes-list.test
  test/Sema/attr-long-call.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35479.107193.patch
Type: text/x-patch
Size: 8640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170718/7d5bedd4/attachment.bin>


More information about the cfe-commits mailing list