[all-commits] [llvm/llvm-project] 222592: [mlir][transform][NFC] Store all Mappings in regio...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Jun 26 08:36:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22259281c040d70bf1cd8f933a48b26950edd0dd
      https://github.com/llvm/llvm-project/commit/22259281c040d70bf1cd8f933a48b26950edd0dd
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/lib/Dialect/Transform/IR/TransformOps.cpp

  Log Message:
  -----------
  [mlir][transform][NFC] Store all Mappings in region stack

Do not swap the Mappings when entering a region that is isolated from above. Simply push another Mappings struct to the stack and prevent invalid accesses during lookups.

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




More information about the All-commits mailing list