Add - and -= operators to BlockFrequency using saturating arithmetic.
authorCong Hou <congh@google.com>
Mon, 12 Oct 2015 18:34:00 +0000 (18:34 +0000)
committerCong Hou <congh@google.com>
Mon, 12 Oct 2015 18:34:00 +0000 (18:34 +0000)
commit7ebb1848c305da4675c3cff707dc5a88c9088faa
tree2f67940180b70495b820d899bcd8c39a687e4549
parente4234986c66b2f182e5c5fa1a08b93f0fd2d4870
Add - and -= operators to BlockFrequency using saturating arithmetic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250077 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/BlockFrequency.h
lib/Support/BlockFrequency.cpp
unittests/Support/BlockFrequencyTest.cpp