[PATCH] Fix bug 23851: Preserve metadata for the unswitched branch in loop-unswitch

Weiming Zhao weimingz at codeaurora.org
Mon Jun 15 13:21:04 PDT 2015


Currently, when the branch is unswitched, the newly created branch does not copy the metadata (like branch_weights) from the old branch.

http://reviews.llvm.org/D10458

Files:
  lib/Transforms/Scalar/LoopUnswitch.cpp
  test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10458.27709.patch
Type: text/x-patch
Size: 9934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150615/760e1dac/attachment.bin>


More information about the llvm-commits mailing list