[PATCH] D44667: [LoopPredication] Add profitability check based on BPI

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 20 08:51:55 PDT 2018


anna updated this revision to Diff 139134.
anna added a comment.

seperated out logic into a function, instead of lambda. Added a threshold for the BPI check.


Repository:
  rL LLVM

https://reviews.llvm.org/D44667

Files:
  lib/Transforms/Scalar/LoopPredication.cpp
  test/Transforms/LoopPredication/profitability.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44667.139134.patch
Type: text/x-patch
Size: 11519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180320/2043e0cc/attachment.bin>


More information about the llvm-commits mailing list