OSDN Git Service

[SimpleLoopUnswitch] Implement handling of prof branch_weights metadata for SwitchInst
authorYevgeny Rouban <yevgeny.rouban@azul.com>
Mon, 1 Jul 2019 08:43:53 +0000 (08:43 +0000)
committerYevgeny Rouban <yevgeny.rouban@azul.com>
Mon, 1 Jul 2019 08:43:53 +0000 (08:43 +0000)
commit331d5b9b286e9955d5431f35305f7d2d8041c097
treed8c278015a6d95bff95a6bc24496a6ed8bfa0f11
parentb74b51461d4f4f0780f77021d909e508bd407591
[SimpleLoopUnswitch] Implement handling of prof branch_weights metadata for SwitchInst

Differential Revision: https://reviews.llvm.org/D60606

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364734 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
test/Transforms/SimpleLoopUnswitch/basictest-profmd.ll [new file with mode: 0644]
test/Transforms/SimpleLoopUnswitch/trivial-unswitch-profmd.ll [new file with mode: 0644]