[all-commits] [llvm/llvm-project] 78accf: Make LLVM Linkage a first class attribute instead ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri Sep 3 14:26:20 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78accf9f353eea1ebaa1ef7e7397572fabff738a
      https://github.com/llvm/llvm-project/commit/78accf9f353eea1ebaa1ef7e7397572fabff738a
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
    M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/func.mlir
    M mlir/test/Dialect/LLVMIR/global.mlir
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  Make LLVM Linkage a first class attribute instead of using an integer attribute

This makes the IR more readable, in particular when this will be used on
the builtin func outside of the LLVM dialect.

Reviewed By: wsmoses

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




More information about the All-commits mailing list