aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorXiaodong Liu <liuxiaodong@loongson.cn>2022-11-15 09:55:03 +0800
committerXiaodong Liu <liuxiaodong@loongson.cn>2022-11-15 09:55:40 +0800
commit03d07e181d97248a1cdfe34affe826dd3ad4b46a (patch)
treec224ad3d8cba8df6ab8c860f62fb077002328c81 /clang/lib/CodeGen/CodeGenFunction.cpp
parentc50d0fe570e630c3b1e56a5aee17568e955134b3 (diff)
downloadllvm-03d07e181d97248a1cdfe34affe826dd3ad4b46a.zip
llvm-03d07e181d97248a1cdfe34affe826dd3ad4b46a.tar.gz
llvm-03d07e181d97248a1cdfe34affe826dd3ad4b46a.tar.bz2
[LoongArch] Handle register spill in BranchRelaxation pass
When the range of the unconditional branch is overflow, the indirect branch way is used. The case when there is no scavenged register for indirect branch needs to spill register to stack. Reviewed By: SixWeining, wangleiat Differential Revision: https://reviews.llvm.org/D137821
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions