[all-commits] [llvm/llvm-project] 4e6f81: [mlir][llvm] Align linkage enum order with LLVM (N...

Henrich Lauko via All-commits all-commits at lists.llvm.org
Tue Dec 3 07:16:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e6f812e9134a99320546d3805f628683b4ed334
      https://github.com/llvm/llvm-project/commit/4e6f812e9134a99320546d3805f628683b4ed334
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M mlir/include/mlir-c/Dialect/LLVM.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td

  Log Message:
  -----------
  [mlir][llvm] Align linkage enum order with LLVM (NFC) (#118484)

This change doesn't introduce any functional differences but aligns the
implementation more closely with LLVM's representation. Previously, the
code generated a lookup table to map MLIR enums to LLVM enums due to the
lack of one-to-one correspondence. With this refactoring, the generated
code now casts directly from one enum to another.



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