[all-commits] [llvm/llvm-project] 37e256: [Flang][mlir] add a band-aid to support the creati...

Frank Laub via All-commits all-commits at lists.llvm.org
Fri Jan 17 12:17:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 37e2560d3d24d7858493d30fc5b6e6a001f2a197
      https://github.com/llvm/llvm-project/commit/37e2560d3d24d7858493d30fc5b6e6a001f2a197
  Author: Eric Schweitz <eschweitz at nvidia.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/test/Dialect/LLVMIR/invalid.mlir

  Log Message:
  -----------
  [Flang][mlir] add a band-aid to support the creation of mutually recursive types when lowering to LLVM IR

Summary:
This is a temporary implementation to support Flang.  The LLVM-IR parser
will need to be extended in some way to support recursive types.  The
exact approach here is still a work-in-progress.

Unfortunately, this won't pass roundtrip testing yet. Adding a comment
to the test file as a reminder.

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


  Commit: 60a0c612df515cffcf4489b97bfff7b97b78018b
      https://github.com/llvm/llvm-project/commit/60a0c612df515cffcf4489b97bfff7b97b78018b
  Author: Frank Laub <frank.laub at intel.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/LLVMIR/invalid.mlir
    M mlir/test/Dialect/LLVMIR/roundtrip.mlir
    M mlir/test/Target/llvmir.mlir

  Log Message:
  -----------
  [MLIR] LLVM dialect: Add llvm.atomicrmw

Summary:
This op is the counterpart to LLVM's atomicrmw instruction. Note that
volatile and syncscope attributes are not yet supported.

This will be useful for upcoming parallel versions of `affine.for` and generally
for reduction-like semantics.

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


Compare: https://github.com/llvm/llvm-project/compare/44aaca3de4f4...60a0c612df51


More information about the All-commits mailing list