diff options
author | Xiaodong Liu <liuxiaodong@loongson.cn> | 2022-11-15 09:55:03 +0800 |
---|---|---|
committer | Xiaodong Liu <liuxiaodong@loongson.cn> | 2022-11-15 09:55:40 +0800 |
commit | 03d07e181d97248a1cdfe34affe826dd3ad4b46a (patch) | |
tree | c224ad3d8cba8df6ab8c860f62fb077002328c81 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | c50d0fe570e630c3b1e56a5aee17568e955134b3 (diff) | |
download | llvm-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