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

    <tr>
        <th>Summary</th>
        <td>
            We should change the default for using MLIR support for COMPLEX arithmetic
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    The current default for "disable-mlir-complex" is "false".  With this setting, our results for intrinsics sin, cos, acos, sqrt, and perhaps other intrinsics do not match the defaults for other compilers such as NAG and nvfortran.

I'd like to change the default to "true", in which case our results will match.  I'm not sure what the long term solution is, but I would prefer for our default behavior to match other compilers as closely as possible.

Note that the current default was set in https://reviews.llvm.org/D135882.

@DavidTruby, @vzakhari, @klausler, I welcome your feedback and greater wisdom.

I'm happy to make this change if we all agree that it's the right thing to do.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtU99v2yAQ_mvsF9TIJnXiPPiha9apUttNU6XuFdtnw4LB4yBZ9tfvIOm6dJOiEI7j4_txaW1_bJ4lsC44B8azHgYRtGeDdSzjvFcoWg1Xk1buqrPTrOEnlZnCeDoIjUDrgrEX5SXzkuoI3iszZvyW2eCYAyQ8TIDKeKcMqo66lIkdncW4iPOKP5xPe9OzGZwUMzLrJVxc7S0z1rNJ-C4-Ca-cT2-c2iNVpcHRQ4G6BLKnm08J1uypyzthFlmxzYqb0_d9xtc902oHzFvWSWFG-Bs7VkmodyHqjRSVYQepCLsTCBdKD0rrEzvyJQJPiS8GB3RF-ISrrRmZBzcxtDp4ZQ15GnHb4Nk9O9igyQIHA4lJsuiBVy4tSLFXVCRSJxfeiya9nbYI-hh_zhZRUYoXip-sjwrPdN7HfxApyKhSej9jtrzJ-B19HOwVHHCh9X5aWEcx323LZVXX_AI9uy62xLF_dqE9RllU2P8SOymcOm93WgQktnFLgkETfWDHKHQA6FvR7VJgowNBRpGt2Nvpn9QmRlMyH09exPjiDJ4DVAPhMkFxCEI5y1U0YWtMqp0aZdSvYhaWBmuRQ1OuVuuq5MWqzPtm2W-WG5F75TU0L8BQpmD-MyAxpIAR6fHh_iulPc80Z6l8-_nxy8PHb4y0ezmBV10enG4ujR3pLLQLMoE20d3zcjU7-x06In2nEAPQkNxV9XqzyWVTlkVVE9fNalmt6mrZdWVf19Wa12Ij-GrItWhBY5NVH7Jqm6uGF5zTpSUvr9fX5aKoN4UYVkPfFTX5XVEqMAml_6SbuyZxaMOIdKgV-rfoc0FjNRqAhM_5jB6UGUD38S9C74ngpXXNWz1PCppE_zdyK3_S">