[all-commits] [llvm/llvm-project] 4f5221: [mlir][llvm] Fix export of 64-bit integer function...

Jeff Niu via All-commits all-commits at lists.llvm.org
Fri Jul 28 15:37:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f52210a563b5780ae447a876e6da446b32f0b07
      https://github.com/llvm/llvm-project/commit/4f52210a563b5780ae447a876e6da446b32f0b07
  Author: Mogball <jeff at modular.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][llvm] Fix export of 64-bit integer function attributes

The `allocsize` attribute is weird because it packs two 32-bit values
into a 64-bit value. It also turns out that the passthrough attribute
exporter was using `int`, which is incorrectly handling 64-bit integers.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D156574




More information about the All-commits mailing list