[llvm-profgen][NFC] Fix the incorrect computation of callsite sample count
authorwlei <wlei@fb.com>
Wed, 20 Jan 2021 00:20:11 +0000 (16:20 -0800)
committerwlei <wlei@fb.com>
Wed, 20 Jan 2021 01:50:48 +0000 (17:50 -0800)
commitdaeea961a6d93f301e7a22659a2c203846fd58f2
treea2434419c8c3e0d11693187dc439e11a203437c8
parent233106269db6af64f9eff7db0bdf119593f822b1
[llvm-profgen][NFC] Fix the incorrect computation of callsite sample count

Differential Revision: https://reviews.llvm.org/D95009
llvm/test/tools/llvm-profgen/noinline-cs-noprobe.test
llvm/tools/llvm-profgen/ProfileGenerator.cpp