diff options
author | Jeff Niu <jeffniu22@gmail.com> | 2025-02-25 11:32:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 11:32:36 -0800 |
commit | 4357a6603f2c21f343d500778f71494e865262ac (patch) | |
tree | 63eab9d249799a455050cd13e64ddc0e4f55a943 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 00f02fed882822008f8e4733bcdfb84799d9fb39 (diff) | |
download | llvm-4357a6603f2c21f343d500778f71494e865262ac.zip llvm-4357a6603f2c21f343d500778f71494e865262ac.tar.gz llvm-4357a6603f2c21f343d500778f71494e865262ac.tar.bz2 |
[mlir][DLTI] Make `getPreferredAlignment` default to `getABIAlignment` (#128754)
Many types don't have a preferred alignment, but often specifying an ABI
alignment is required to implement APIs on top of data layouts. Default
the preferred alignment to `getABIAlignment` to simplify things.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions