[all-commits] [llvm/llvm-project] a1529c: [CIR] Add index support for global_view (#153254)
Andy Kaylor via All-commits
all-commits at lists.llvm.org
Thu Aug 14 15:14:34 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1529cd85a9f99a263de72e16ed2f7567c519456
https://github.com/llvm/llvm-project/commit/a1529cd85a9f99a263de72e16ed2f7567c519456
Author: Andy Kaylor <akaylor at nvidia.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
M clang/include/clang/CIR/Dialect/IR/CIRDataLayout.h
M clang/lib/CIR/CodeGen/CIRGenBuilder.cpp
M clang/lib/CIR/CodeGen/CIRGenBuilder.h
M clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
M clang/lib/CIR/Dialect/IR/CIRDataLayout.cpp
M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
M clang/test/CIR/CodeGen/globals.cpp
Log Message:
-----------
[CIR] Add index support for global_view (#153254)
The #cir.global_view attribute was initially added without support for
the optional index list. This change adds index list support. This is
used when the address of an array or structure member is used as an
initializer.
This patch does not include support for taking the address of a
structure or class member. That will be added later.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list