[all-commits] [llvm/llvm-project] 135bd3: [mlir] [tblgen-to-irdl] Refactor tblgen-to-irdl sc...

Alex Rice via All-commits all-commits at lists.llvm.org
Wed Sep 11 06:03:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 135bd31975192654629c9bd453533ba705af1dba
      https://github.com/llvm/llvm-project/commit/135bd31975192654629c9bd453533ba705af1dba
  Author: Alex Rice <alexrice999 at hotmail.co.uk>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M mlir/include/mlir/IR/CommonTypeConstraints.td
    M mlir/test/tblgen-to-irdl/CMathDialect.td
    M mlir/test/tblgen-to-irdl/TestDialect.td
    M mlir/tools/tblgen-to-irdl/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir] [tblgen-to-irdl] Refactor tblgen-to-irdl script and support more types (#105505)

Refactors the tblgen-to-irdl script slightly and adds support for
- Various integer types
- Various Float types
- Confined types
- Complex types (with fixed element type)

Also doesn't add the operand and result ops if they are empty.

I could potentially split this into smaller PRs if that'd be helpful
(refactor + integer/float/complex, confined type, optional
operand/result).

@math-fehr



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