diff options
author | David Olsen <dolsen@nvidia.com> | 2024-12-06 07:01:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 07:01:09 -0800 |
commit | a43b2e13f9cc69ec7077ea9c74a972e178a2d8f7 (patch) | |
tree | f36f49268e91171b2841cf0dca356aa8e6f51b70 /lldb/test/Shell/ScriptInterpreter/Python/python.test | |
parent | 1bdb0a408f1e2e9f6d5f43b23b4f87f87b3950ab (diff) | |
download | llvm-a43b2e13f9cc69ec7077ea9c74a972e178a2d8f7.zip llvm-a43b2e13f9cc69ec7077ea9c74a972e178a2d8f7.tar.gz llvm-a43b2e13f9cc69ec7077ea9c74a972e178a2d8f7.tar.bz2 |
[CIR] Integral types; simple global variables (#118743)
Add integral types to ClangIR. These are the first ClangIR types, so the
change includes some infrastructure for managing ClangIR types.
So that the integral types can be used somewhere, generate ClangIR for
global variables using the new `cir.global` op. As with the current
support for functions, global variables are just a stub at the moment.
The only properties that global variables have are a name and a type.
Add a new ClangIR code gen test global-var-simple.cpp, which defines
global variables with most of the integral types.
(Part of upstreaming the ClangIR incubator project into LLVM.)
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python/python.test')
0 files changed, 0 insertions, 0 deletions