aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorChen Zheng <czhengsz@cn.ibm.com>2022-11-08 01:39:09 -0500
committerChen Zheng <czhengsz@cn.ibm.com>2022-11-14 21:14:20 -0500
commiteb7d16ea25649909373e324e6ebf36774cabdbfa (patch)
treee32e35e9e3d57bb5ec46327fd171de0ea5392fe3 /clang/lib/Lex/ModuleMap.cpp
parent1311306410e4c665ff93651bd64b69e14888596d (diff)
downloadllvm-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