[PATCH] D39872: Add a wrapper function to set branch weights metadata.
Easwaran Raman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 14:40:58 PST 2017
eraman created this revision.
This wrapper checks if there is at least one non-zero weight before
setting the metadata.
https://reviews.llvm.org/D39872
Files:
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39872.122334.patch
Type: text/x-patch
Size: 6615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/eddc7085/attachment.bin>
More information about the llvm-commits
mailing list