diff options
| author | Min-Yih Hsu <minyihh@uci.edu> | 2022-05-23 13:52:38 -0700 |
|---|---|---|
| committer | Min-Yih Hsu <minyihh@uci.edu> | 2022-06-27 09:46:40 -0700 |
| commit | 856056d1b0b34be3f72848dd28b32a800f551ad5 (patch) | |
| tree | 27b9eba1b1f2f11af6c4ae7f50a7bb4b2fb309bd /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 3a1a404ae2d323ebb20f2e270abb0cabd337cf35 (diff) | |
[mlir][LLVMIR] Add support for va_start/copy/end intrinsics
This patch adds three new LLVM intrinsic operations: llvm.intr.vastart/copy/end.
And its translation from LLVM IR.
This effectively removes a restriction, imposed by 0126dcf1f0a1, where
non-external functions in LLVM dialect cannot be variadic. At that time
it was not clear how LLVM intrinsics are going to be modeled, which
indirectly affects va_start/copy/end, the core intrinsics used in
variadic functions. But since we have LLVM intrinsics as normal
MLIR operations, it's not a problem anymore.
Differential Revision: https://reviews.llvm.org/D127540
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
