diff options
author | John Brawn <john.brawn@arm.com> | 2023-07-05 16:21:51 +0100 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2023-07-12 11:48:01 +0100 |
commit | 210f61cbddeddac47b347db072d674ee142520f6 (patch) | |
tree | cf543c6167bd3bdd50fbca48cae26530f1064036 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 647aff28558b6b1379f0892138059b403192512a (diff) | |
download | llvm-210f61cbddeddac47b347db072d674ee142520f6.zip llvm-210f61cbddeddac47b347db072d674ee142520f6.tar.gz llvm-210f61cbddeddac47b347db072d674ee142520f6.tar.bz2 |
[ARM] Correctly handle execute-only in EmitStructByval
Currently when compiling for an execute-only target without movt then
EmitStructByval will generate a constant pool load which isn't
compatible with execute-only. Handle this by emitting tMOVi32imm,
and also simplify the existing movt handling by emitting t2MOVi32imm
or MOVi32imm.
Differential Revision: https://reviews.llvm.org/D154944
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions