[PATCH] D92800: [Clang] Add disable-merge function attribute which generates nomerge function attribute in IR

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 16:53:52 PST 2020


zequanwu created this revision.
zequanwu added reviewers: aaron.ballman, rnk.
Herald added subscribers: dexonsmith, jdoerfert.
zequanwu requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

This adds `disable-merge` function attribute which is similar to `nomerge` statement attribute introduced at https://reviews.llvm.org/D79121.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92800

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/test/CodeGen/attr-disable-merge.cpp
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/Sema/attr-disable-merge.c
  clang/test/SemaCXX/attr-disable-merge.cpp
  llvm/include/llvm/IR/Attributes.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92800.310056.patch
Type: text/x-patch
Size: 5191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201208/ecea204c/attachment-0001.bin>


More information about the cfe-commits mailing list