aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2025-01-22 13:44:20 -0500
committerGitHub <noreply@github.com>2025-01-22 13:44:20 -0500
commit340706f311e088f51002593b8cc7291500ca024e (patch)
tree8a544b17b0b6073a62fdde7dd9699c1eca5f49d3 /clang/lib/CodeGen/CodeGenModule.h
parent589593254eede2f624f29390dc1018725e536505 (diff)
downloadllvm-340706f311e088f51002593b8cc7291500ca024e.zip
llvm-340706f311e088f51002593b8cc7291500ca024e.tar.gz
llvm-340706f311e088f51002593b8cc7291500ca024e.tar.bz2
[PowerPC] Fix saving of Link Register when using ROP Protect (#123101)
An optimization was added that tries to move the uses of the mflr instruction away from the instruction itself. However, this doesn't work when we are using the hashst instruction because that instruction needs to be run before the stack frame is obtained. This patch disables moving instructions away from the mflr in the case where ROP protection is being used. --------- Co-authored-by: Lei Huang <lei@ca.ibm.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions