[PATCH] D62123: [NFC] SimplifyCFG prof branch_weighs handling is simplified

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 00:47:12 PDT 2019


yrouban created this revision.
yrouban added reviewers: davidxl, eraman.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Using the new SwitchInst handler introduced in D62122 <https://reviews.llvm.org/D62122> this patch simplifies 3 places of prof branch_weights handling.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62123

Files:
  llvm/lib/Transforms/Utils/SimplifyCFG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62123.200208.patch
Type: text/x-patch
Size: 4287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190520/44568585/attachment.bin>


More information about the llvm-commits mailing list