[PATCH] D60606: [SimpleLoopUnswitch] Implement handling of prof branch_weights metadata for SwitchInst

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 01:10:31 PDT 2019


yrouban updated this revision to Diff 206606.
yrouban marked an inline comment as done.
yrouban added a comment.

Addressed most comments. The main changes are the following:

- added more cases to trivial-unswitch-profmd.ll
- brushed up basictest-profmd.ll
- added NewSI default case weight if the default successor was not an exit


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

https://reviews.llvm.org/D60606

Files:
  llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  llvm/test/Transforms/SimpleLoopUnswitch/basictest-profmd.ll
  llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-profmd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60606.206606.patch
Type: text/x-patch
Size: 13538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190626/0f008b8d/attachment.bin>


More information about the llvm-commits mailing list