[all-commits] [llvm/llvm-project] f0ba32: [mlir][LLVM-IR] Added support for global variable ...

Shraiysh via All-commits all-commits at lists.llvm.org
Tue Apr 12 20:01:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0ba32d6667b2ea9a58c7dbd5f27984da9d335fc
      https://github.com/llvm/llvm-project/commit/f0ba32d6667b2ea9a58c7dbd5f27984da9d335fc
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/global.mlir
    M mlir/test/Target/LLVMIR/import.ll
    M mlir/test/Target/LLVMIR/llvmir.mlir

  Log Message:
  -----------
  [mlir][LLVM-IR] Added support for global variable attributes

This patch adds thread_local to llvm.mlir.global and adds translation for dso_local and addr_space to and from LLVM IR.

Reviewed By: Mogball

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




More information about the All-commits mailing list