[PATCH] D89899: [CodeGen] Implement [[likely]] and [[unlikely]] for the iteration statements

Mark de Wever via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 10:56:51 PDT 2020


Mordante created this revision.
Mordante added reviewers: aaron.ballman, rjmccall, rsmith.
Mordante added a project: clang.
Herald added a subscriber: dexonsmith.
Mordante requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89899

Files:
  clang/include/clang/Basic/AttrDocs.td
  clang/lib/CodeGen/CGStmt.cpp
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGenCXX/attr-likelihood-if-branch-weights.cpp
  clang/test/CodeGenCXX/attr-likelihood-iteration-stmt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89899.299751.patch
Type: text/x-patch
Size: 8619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201021/79885421/attachment.bin>


More information about the cfe-commits mailing list