Skip to content

Added missing ktdf_arch mapping APIs. - #42

Merged
vswagath1989 merged 1 commit into
torch-spyre:mainfrom
KFAFSP:kfaf/hotfix-4
Sep 18, 2026
Merged

vswagath1989 merged 1 commit into
torch-spyre:mainfrom
KFAFSP:kfaf/hotfix-4

Conversation

@KFAFSP

@KFAFSP KFAFSP commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor
  • Added getFromOpaquePointer to the named attribute constraints to allow using them in llvm::DenseMap.
  • Added llvm::PointerLikeTypeTraits for ResourceSpecAttr to allow using them in llvm::PointerUnion.
  • Added static mlir::ktdf_arch::Mappable::(g|s)et(OrInherit)MapsTo overloads for convenience.

- Improved `mlir::ktdf_arch::Mappable` interface method documentation.
- Added `getFromOpaquePointer` to the named attribute constraints to
  allow using them in `llvm::DenseMap`.
- Added `llvm::PointerLikeTypeTraits` for `ResourceSpecAttr` to allow
  using them in `llvm::PointerUnion`.
- Added static overloads for the `mlir::ktdf_arch::Mappable` methods
  that accept `mlir::Operation*` for convenience.

Signed-off-by: Karl F. A. Friebel <karl.friebel@ibm.com>
@vswagath1989
vswagath1989 merged commit ffe5f1d into torch-spyre:main Sep 18, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants