[all-commits] [llvm/llvm-project] 81bdba: [MLIR] Add HasAncestor op trait (#195447)

Henrich Lauko via All-commits all-commits at lists.llvm.org
Mon May 4 22:00:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81bdba1fee08fc81ca0f0a2fa07a72acfd4f001a
      https://github.com/llvm/llvm-project/commit/81bdba1fee08fc81ca0f0a2fa07a72acfd4f001a
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M mlir/docs/Traits/_index.md
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/test/IR/traits.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [MLIR] Add HasAncestor op trait (#195447)

Add HasAncestor/AncestorOneOf traits that verify an operation has a
specific ancestor anywhere in the parent chain, unlike HasParent which
only checks the immediate parent.



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