[all-commits] [llvm/llvm-project] 2416e2: [mlir] Add support for alignment annotations to th...

Stephan Herhut via All-commits all-commits at lists.llvm.org
Fri Jun 19 07:37:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2416e28c2585e4264bc108f051ea2f1ffc2c2035
      https://github.com/llvm/llvm-project/commit/2416e28c2585e4264bc108f051ea2f1ffc2c2035
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-06-19 (Fri, 19 Jun 2020)

  Changed paths:
    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/Target/llvmir-invalid.mlir
    M mlir/test/Target/llvmir.mlir

  Log Message:
  -----------
  [mlir] Add support for alignment annotations to the LLVM dialect to LLVM translation.

Summary:
With this change, a function argument attribute of the form
"llvm.align" = <int> will be translated to the corresponding align
attribute in LLVM by the ModuleConversion.

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




More information about the All-commits mailing list