diff options
author | Umesh Kalappa <umesh.kalappa0@gmail.com> | 2022-08-10 10:29:25 -0500 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2022-08-10 10:31:27 -0500 |
commit | 9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5 (patch) | |
tree | a0549816d0e18bbb47f60654ce0b7caafdae1e02 /clang/lib/Basic/SourceManager.cpp | |
parent | fdbb15355e7977b914cbd7e753b5e909d735ad83 (diff) | |
download | llvm-9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5.zip llvm-9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5.tar.gz llvm-9757f4f2ddb76ae3ab0cc6c8768e3179ff141ee5.tar.bz2 |
[PowerPC] Don't use the S30 and S31 regs for the pic code
These changes to address issue
https://github.com/llvm/llvm-project/issues/55857.
Since R30/S30 is used as pointer (32 bits) for GOT Table in the ppc32 ABI,
remove it from the SPE callee save register when PIC is enabled.
This prevents emitting the SPE load and store for S30 and S31 regs.
Differential revision: https://reviews.llvm.org/D127495
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions