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

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Feb 25 10:18:43 PST 2025


  Branch: refs/heads/users/mogball/dlti
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ce37bf28f344e37ffb403dee2f6f4165225a600
      https://github.com/llvm/llvm-project/commit/5ce37bf28f344e37ffb403dee2f6f4165225a600
  Author: Mogball <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`

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