[all-commits] [llvm/llvm-project] 5a0722: [flang] Update fir.dispatch operation

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Oct 6 09:12:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a0722e0469894564dd9b0ee1d4f8c291d09c776
      https://github.com/llvm/llvm-project/commit/5a0722e0469894564dd9b0ee1d4f8c291d09c776
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/Todo/dispatch.fir
    M flang/test/Fir/fir-ops.fir
    M flang/test/Fir/invalid.fir

  Log Message:
  -----------
  [flang] Update fir.dispatch operation

Update the `fir.dispatch` operation to prepare
the lowering part. `nopass` and `pass_arg_pos` attributes
are added in the arguments list so accessors are generated
by MLIR tablegen. A verifier is added as well as some tests.

This patch is part of the implementation of the poltymorphic
entities.
https://github.com/llvm/llvm-project/blob/main/flang/docs/PolymorphicEntities.md

Reviewed By: jeanPerier, PeteSteinfeld

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




More information about the All-commits mailing list