aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorqijitao <119509978+qijitao@users.noreply.github.com>2023-10-08 05:06:10 +0800
committerGitHub <noreply@github.com>2023-10-08 01:06:10 +0400
commitbae41ff57e04ddcb89ea128065e3d1f9afa9917c (patch)
treef1c097238acc97898a71ea712afe2b27bc9f0a02 /clang/lib/Frontend/CompilerInstance.cpp
parentc4f32b4bda8e536bdd539762785805dbe42f0852 (diff)
downloadllvm-bae41ff57e04ddcb89ea128065e3d1f9afa9917c.zip
llvm-bae41ff57e04ddcb89ea128065e3d1f9afa9917c.tar.gz
llvm-bae41ff57e04ddcb89ea128065e3d1f9afa9917c.tar.bz2
[BOLT] Fix long jump negative offset issue. (#67132)
In instruction encoding, the relative offset address of the PC is signed, that is, the number of positive offset bits and the number of negative offset bits is asymmetric. Therefore, the maximum and minimum values are used to replace Mask to determine the boundary. Co-authored-by: qijitao <qijitao@hisilicon.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions