[all-commits] [llvm/llvm-project] 165fda: [flang][NFC] Remove hardcoded attr name for fir.d...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Feb 12 08:56:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 165fdaab213d3e3e7461344b4fc504f04dcba571
      https://github.com/llvm/llvm-project/commit/165fdaab213d3e3e7461344b4fc504f04dcba571
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp

  Log Message:
  -----------
  [flang][NFC]  Remove hardcoded attr name for fir.dispatch and fid.dt_entry ops (#81348)

These hardcoded attribute name are a leftover from the upstreaming
period when there was no way to get the attribute name without an
instance of the operation. It is since possible to do without them and
they should be removed to avoid duplication.

This PR cleanup the fir.dt_entry and fir.dispatch ops of these hardcoded
attribute name and use their generated getters. Some other PRs will
follow to cleanup other operations.




More information about the All-commits mailing list