diff options
| author | Easwaran Raman <eraman@google.com> | 2017-11-09 22:52:20 +0000 |
|---|---|---|
| committer | Easwaran Raman <eraman@google.com> | 2017-11-09 22:52:20 +0000 |
| commit | 0a0913def2509dcc2409c64aa038eb54fd3b1479 (patch) | |
| tree | 5ff2a31758a4e5f318c295d7d49198c2ca162724 /llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp | |
| parent | 8e9202571875e38457e7fed1059f9a8f0d54e897 (diff) | |
| download | bcm5719-llvm-0a0913def2509dcc2409c64aa038eb54fd3b1479.tar.gz bcm5719-llvm-0a0913def2509dcc2409c64aa038eb54fd3b1479.zip | |
Add a wrapper function to set branch weights metadata.
Summary:
This wrapper checks if there is at least one non-zero weight before
setting the metadata.
Reviewers: davidxl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D39872
llvm-svn: 317845
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp')
0 files changed, 0 insertions, 0 deletions

