[all-commits] [llvm/llvm-project] 4357a6: [mlir][DLTI] Make `getPreferredAlignment` default ...

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Feb 25 11:32:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4357a6603f2c21f343d500778f71494e865262ac
      https://github.com/llvm/llvm-project/commit/4357a6603f2c21f343d500778f71494e865262ac
  Author: Jeff Niu <jeffniu22 at gmail.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
    M mlir/include/mlir/Dialect/Ptr/IR/PtrDialect.td
    M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td

  Log Message:
  -----------
  [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.



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