<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/58646>58646</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            question about affine optimization for frotran program when using flang
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          qelk123
      </td>
    </tr>
</table>

<pre>
    Hi all,
        I am trying to flang-affine-promotion pass to convert parts of my fir code to affine dialect.However,it failed when converting fir.do_loop because of error in fetching loop analysis in AffineFunctionAnalysis.I only saw a case using fir in the repo.Are here any cases writing in fortran that I can refer to?
Thanks
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxFUsFupDAM_Rq4WEUQhkw5cJjdatTe974y4EC2IaFJ6Gj269dJp1qEwObZfo_njG6-D68a0JhC_Czql6K-wON6A9wg-ru2C0QHyqBdnlApbelp925zUTsLO4aQ4MnZT_KRcx8DOAXbHZT2_H2mhH81wqzR0BSrV3cjrmdSHUGhNjTDbSX7PSeRcns1u9_GuR1GmvAIlAaT986DtqAoTmsqzBVo0dyDDgm5ZLLrYaek8fJAqjdw1twh4A0QJuRxR3gQpa64EnjaXXXxBCvxA-091wW4eZ01JVrno8dUjpFNmjj0pMjzXxbt9cvDXyva91DS0Egpn-VJyK6ch3bu2x7LqKOh4eOgkB3E0R3x2x-3R73pv5gRZgLlXWZjxxfPC8kmPWSnjZSHN8Ma4x6K9lKIK9-LjusxVpPbODHm8_uVtvaHzedUh8D0HHQsTpbrMPaq7c4kBElZN6OUs3weu7NsTzSpc69KgyOZMBTdj0IISzfIIzguupdSD6IWoqnFue67pu6qqRfiPDZ4QtXX09wUp5o23nKVdFTOL6UfsqTxWAKDRocY_oN8pvRiiTIdz8cjrs4PH2TeG9GWmXrI0v8BguvvqA">