[PATCH] D20307: Follow-up patch of http://reviews.llvm.org/D19948 to handle missing profiles when simplifying CFG.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 15:19:27 PDT 2016


danielcdh created this revision.
danielcdh added reviewers: davidxl, spatel.
danielcdh added a subscriber: llvm-commits.

Set default branch weight to 1:1 if one of the branch has profile missing when simplifying CFG.

http://reviews.llvm.org/D20307

Files:
  lib/Transforms/Utils/SimplifyCFG.cpp
  test/Transforms/SimplifyCFG/preserve-branchweights.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20307.57410.patch
Type: text/x-patch
Size: 8646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160516/0222895e/attachment.bin>


More information about the llvm-commits mailing list