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

Simon Atanasyan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 04:31:35 PDT 2017


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

- Early return from `setTargetAttributes` methods if `IsForDefinition` is not true in all cases except handling MIPS "call style" 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/CodeGen/TargetInfo.h
  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.107281.patch
Type: text/x-patch
Size: 20049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170719/f6d4d3c4/attachment-0001.bin>


More information about the cfe-commits mailing list