[all-commits] [llvm/llvm-project] 2abdc0: [MLIR][LLVM] Take the alignment attribute into acc...

Johannes de Fine Licht via All-commits all-commits at lists.llvm.org
Wed Mar 29 03:23:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2abdc0f7dfd807dc7841506f949fc6cbdd8b3313
      https://github.com/llvm/llvm-project/commit/2abdc0f7dfd807dc7841506f949fc6cbdd8b3313
  Author: Johannes de Fine Licht <johannes.definelicht at nextsilicon.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
    M mlir/test/Dialect/LLVMIR/inlining.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Take the alignment attribute into account during inlining.

This is a subset of the full LLVM functionality to detect whether
realignment is necessary, conservatively copying byval arguments
whenever we cannot prove that the alignment requirement is met.

Reviewed By: gysit

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




More information about the All-commits mailing list