[PATCH] D98898: [SimplifyCFG] use profile metadata to refine merging branch conditions

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 13:05:18 PDT 2021


spatel updated this revision to Diff 332406.
spatel added a comment.

Patch updated:
Use TTI query to decide when a branch is predictable.
I changed the TLI query to TTI as a preliminary commit and adjusted the test metadata to match.


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

https://reviews.llvm.org/D98898

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp
  llvm/test/Transforms/PGOProfile/chr.ll
  llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98898.332406.patch
Type: text/x-patch
Size: 15717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210322/2717910c/attachment.bin>


More information about the llvm-commits mailing list