diff options
author | Chen Zheng <czhengsz@cn.ibm.com> | 2022-11-08 01:39:09 -0500 |
---|---|---|
committer | Chen Zheng <czhengsz@cn.ibm.com> | 2022-11-14 21:14:20 -0500 |
commit | eb7d16ea25649909373e324e6ebf36774cabdbfa (patch) | |
tree | e32e35e9e3d57bb5ec46327fd171de0ea5392fe3 /clang/lib/Lex/ModuleMap.cpp | |
parent | 1311306410e4c665ff93651bd64b69e14888596d (diff) | |
download | llvm-eb7d16ea25649909373e324e6ebf36774cabdbfa.zip llvm-eb7d16ea25649909373e324e6ebf36774cabdbfa.tar.gz llvm-eb7d16ea25649909373e324e6ebf36774cabdbfa.tar.bz2 |
[PowerPC] make expensive mflr be away from its user in the function prologue
mflr is kind of expensive on Power version smaller than 10, so we should
schedule the store for the mflr's def away from mflr.
In epilogue, the expensive mtlr has no user for its def, so it doesn't
matter that the load and the mtlr are back-to-back.
Reviewed By: RolandF
Differential Revision: https://reviews.llvm.org/D137423
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions