[all-commits] [llvm/llvm-project] 68a390: emitc: func: Set default dialect to 'emitc' (#116297)

Matthias Gehre via All-commits all-commits at lists.llvm.org
Mon Nov 18 08:26:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68a3908148c6b6424b1ad4d0ed19d56435252832
      https://github.com/llvm/llvm-project/commit/68a3908148c6b6424b1ad4d0ed19d56435252832
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-11-18 (Mon, 18 Nov 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/test/Conversion/FuncToEmitC/func-to-emitc.mlir

  Log Message:
  -----------
  emitc: func: Set default dialect to 'emitc' (#116297)

Makes `emitc.func` implement the `OpAsmOpInterface` and overwrite the
`getDefaultDialect`. This allows ops inside `emitc.func`'s body to omit
the 'emitc.' prefix in the assembly.



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