[PATCH] D120231: [SelectOpti][2/4] Base Heuristics

Sotiris Apostolakis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 22:14:03 PST 2022


apostolakis created this revision.
Herald added a subscriber: hiraditya.
apostolakis edited the summary of this revision.
apostolakis updated this revision to Diff 410385.
apostolakis added a comment.
apostolakis published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Minor tweaks


This patch adds the base heuristics for determining whether branches are more profitable than conditional moves.
Base heuristics apply to all code apart from inner-most loops.

Depends on D120230 <https://reviews.llvm.org/D120230>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120231

Files:
  llvm/lib/CodeGen/SelectOptimize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120231.410385.patch
Type: text/x-patch
Size: 13486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/da3d2130/attachment.bin>


More information about the llvm-commits mailing list