summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2017-11-09 22:52:20 +0000
committerEaswaran Raman <eraman@google.com>2017-11-09 22:52:20 +0000
commit0a0913def2509dcc2409c64aa038eb54fd3b1479 (patch)
tree5ff2a31758a4e5f318c295d7d49198c2ca162724 /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
parent8e9202571875e38457e7fed1059f9a8f0d54e897 (diff)
downloadbcm5719-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/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud