diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-22 11:27:44 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-23 09:00:46 +0100 |
commit | 510d0e493365386b9eb082e91d72b62fe716d32e (patch) | |
tree | d30186ff6e8de8471b8baf3ef6aca8119bf767df /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1201a0f3955b7b564db3e5a913a7ec9255f9275d (diff) | |
download | llvm-510d0e493365386b9eb082e91d72b62fe716d32e.zip llvm-510d0e493365386b9eb082e91d72b62fe716d32e.tar.gz llvm-510d0e493365386b9eb082e91d72b62fe716d32e.tar.bz2 |
[IR] Add memory attributes for init.trampoline
Based on my reading of https://llvm.org/docs/LangRef.html#llvm-init-trampoline-intrinsic,
init.trampoline writes to the first argument, while the other two
are readnone. These two arguments are only captured and written
into the trampoline memory. This also matches what I see in the
X86TargetLowering::LowerINIT_TRAMPOLINE() implementation.
Differential Revision: https://reviews.llvm.org/D116149
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions