]> granicus.if.org Git - llvm/commit
Verifier: check prof branch_weights
authorYevgeny Rouban <yevgeny.rouban@azul.com>
Tue, 13 Aug 2019 04:03:38 +0000 (04:03 +0000)
committerYevgeny Rouban <yevgeny.rouban@azul.com>
Tue, 13 Aug 2019 04:03:38 +0000 (04:03 +0000)
commitcd1de28b1e49310f97ed051998e950ec6d44389f
treead505855815cee1e2f5862b8ece2e24127a0ec68
parentc5576e0d9d0df87973c248b35d596d06dd4ce0c2
Verifier: check prof branch_weights

This patch is to check some of constraints on
!pro branch_weights metadata:
https://llvm.org/docs/BranchWeightMetadata.html

Reviewers: asbirlea, reames, chandlerc
Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D61179

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp