[PATCH] D78659: Add nomerge function attribute to supress tail merge optimization in simplifyCFG

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 24 17:53:54 PDT 2020


zequanwu updated this revision to Diff 260039.
zequanwu added a comment.

Add check in LICM to prevent sink or hoist on `nomerge` call


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78659/new/

https://reviews.llvm.org/D78659

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/CodeGen/CGCall.cpp
  clang/test/CodeGen/attr-nomerge.c
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  llvm/include/llvm/IR/Attributes.td
  llvm/include/llvm/IR/InstrTypes.h
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/AsmParser/LLParser.cpp
  llvm/lib/AsmParser/LLToken.h
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/Scalar/LICM.cpp
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78659.260039.patch
Type: text/x-patch
Size: 8699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200425/2330626d/attachment-0001.bin>


More information about the cfe-commits mailing list