aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-06-17 18:02:45 -0700
committerHongtao Yu <hoy@fb.com>2021-06-18 14:38:48 -0700
commitfb19aa0c74fdb864ddbd677a7b3585661966a098 (patch)
treea11c9b91bf927cb6b0c303310498e1c08ac9c581 /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parentd1baf2895467735ab14f4b3415fce204c0cc8e7f (diff)
downloadllvm-fb19aa0c74fdb864ddbd677a7b3585661966a098.zip
llvm-fb19aa0c74fdb864ddbd677a7b3585661966a098.tar.gz
llvm-fb19aa0c74fdb864ddbd677a7b3585661966a098.tar.bz2
[CSSPGO][llvm-profgen] Fix an issue in findDisjointRanges
We were using 0 as an indicator of invalid offset when computing disjoint ranges. In reality, 0 can be an valid code offset which stands for the first function in .text section. I'm using UINT64_MAX as an invalid code offset instead. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D104497
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions