[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
Fri Apr 12 03:49:29 PDT 2019
yrouban created this revision.
yrouban added reviewers: asbirlea, fedor.sergeev, mkazantsev.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
This patch implements a handling of prof branch_weights metadata for switch instructions.
Couple of tests are corrected.
https://reviews.llvm.org/D60606
Files:
llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
llvm/test/Transforms/SimpleLoopUnswitch/basictest.ll
llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60606.194835.patch
Type: text/x-patch
Size: 5727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190412/63d7a0c9/attachment.bin>
More information about the llvm-commits
mailing list