diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2022-03-03 13:42:10 -0800 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2022-03-03 13:53:36 -0800 |
commit | e0adc3be132922776a867a623959e176f29f9965 (patch) | |
tree | ed2ea96e22ca9f4fd02723c5a362059e415f075d /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | d7f9220bb63405f2f874e29eaa3a98a45b2ac452 (diff) | |
download | llvm-e0adc3be132922776a867a623959e176f29f9965.zip llvm-e0adc3be132922776a867a623959e176f29f9965.tar.gz llvm-e0adc3be132922776a867a623959e176f29f9965.tar.bz2 |
[Mips] support "sp" named register
After Linux kernel commit
commit 200ed341b864 ("mips: Implement "current_stack_pointer"")
We observe the following build error when compiling the Linux kernel
targeting Mips:
fatal error: error in backend: Invalid register name global variable
Fixes: https://github.com/llvm/llvm-project/issues/54174
Link: https://github.com/ClangBuiltLinux/linux/issues/1608
Reviewed By: atanasyan
Differential Revision: https://reviews.llvm.org/D120926
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions