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

    <tr>
        <th>Summary</th>
        <td>
            [Flang] Support the `-fconvert` option for switching endiannes
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang:driver,
            flang:runtime
      </td>
    </tr>

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

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

<pre>
    `-fconvert` is a flag for changing the endianness of unformatted files. wrf and a few other spec benchmarks require support for the `-fconvert` flag. Specifically it requires the `big-endian`variant. But it is probably a good time to add support for all values of this flag.

Pointer to gfortran doc: https://gcc.gnu.org/onlinedocs/gfortran/Runtime-Options.html

Flag is required for enable 521.wrf and a few other spec benchmarks.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU01znDAM_TVw0SzDR2CWA4dNd3Jtp_kFsi3AibGpbXYn_74ym03TTA-dYbBk6UnvSSCcehuyrjyM0tkL-cg26AAIo8EJRudBzmgnbSeIMwFZpdFaCgHcCJvlhAVjJAWjNhQKuPoR0KpUgK7gGOMhrCRBkJXzgv41gKdfm_YEYVtX5-PeJRX_yiNRKOCZ0XrUEo15Ax3v6HCHCD0dbrTYuaBnIxbwuMWUzFJW7wQKxiJMzimIeiGIDlCpvxhwfbig2WiXFmeG7gSy8pyVp9v7h9M2siKGT4yJHi0oJ7PmBHOMa2Ajq5_4maQsJrsVzk_sOWu0JU4MKfQOZPPnZhObw_c1amdDMcfFfG73lHagPwamdp5kWQ1BW1fFfwy7yNXQqL7pMY86Ghqy9pHL2ilrz_D8Lv9fw3c7p71juOoo5_QJfKw_37wZvkjWcd5EId3CjjGX-3HgBbyQjOzqEHi8bLRt31X5PLQPvTwKxIbarkfRHvvqOApR9SXWoxSUGxRkQiKd1fW4825OymtmyRdZ_Q0-3fvbOFOgPed6qMu6Lruyr9qmr6qilUj1sauo6rtGCpE9lLSgNkVimTaV-2EnLLYpcNDoEMOfIIagJ0v7BFN93OLs_PCqeZfpH1EeF8dnvqscdom_AcXOI7Y">