[all-commits] [llvm/llvm-project] bafa2f: [mlir][memref] Check memory space before lowering ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Apr 7 05:38:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bafa2f4442bcee26f05c22369d41646d5c8befb9
      https://github.com/llvm/llvm-project/commit/bafa2f4442bcee26f05c22369d41646d5c8befb9
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/LLVMCommon/Pattern.h
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp
    M mlir/lib/Conversion/MemRefToLLVM/AllocLikeConversion.cpp
    M mlir/test/Conversion/MemRefToLLVM/invalid.mlir

  Log Message:
  -----------
  [mlir][memref] Check memory space before lowering alloc ops (#134427)

Check the memory space before lowering allocation ops, instead of
starting the lowering and then rolling back the pattern when the memory
space was found to be incompatible with LLVM.

Note: This is in preparation of the One-Shot Dialect Conversion
refactoring.

Note: `isConvertibleAndHasIdentityMaps` now also checks the memory
space.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list