[all-commits] [llvm/llvm-project] dc9b8f: [CIR ] Add DLTI dialect support to module attribut...
Andres-Salamanca via All-commits
all-commits at lists.llvm.org
Thu Jun 5 07:42:24 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc9b8fe3b75e10de9850ba95da6b8b530701f1b2
https://github.com/llvm/llvm-project/commit/dc9b8fe3b75e10de9850ba95da6b8b530701f1b2
Author: Andres-Salamanca <andrealebarbaritos at gmail.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M clang/include/clang/CIR/Dialect/IR/CIRDataLayout.h
M clang/lib/CIR/CodeGen/CIRGenerator.cpp
M clang/lib/CIR/CodeGen/CMakeLists.txt
A clang/lib/CIR/Dialect/IR/CIRDataLayout.cpp
M clang/lib/CIR/Dialect/IR/CMakeLists.txt
A clang/test/CIR/CodeGen/dlti.c
A clang/test/CIR/CodeGen/dlti_be.c
M clang/test/CIR/Lowering/func-simple.cpp
M clang/tools/cir-opt/cir-opt.cpp
Log Message:
-----------
[CIR ] Add DLTI dialect support to module attributes (#142241)
This PR adds support for the DLTI dialect by attaching it to the module
attributes and introduces a utility function to determine if the target
is big-endian, which is required for
https://github.com/llvm/llvm-project/pull/142041. Some tests were
updated because we now use `mlir::translateDataLayout`, which "updates"
the `DataLayout` where the alignment for `long` is 8 instead of the
previously 4. This updated is consistent with Incubator.
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