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

    <tr>
        <th>Summary</th>
        <td>
            /OPT:NOREF with LLVM
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          3e33
      </td>
    </tr>
</table>

<pre>
    I haven't been able to answer this by looking at the documentation.

What is the LLVM version of MSVC's `/OPT:NOREF`?
https://learn.microsoft.com/en-us/cpp/build/reference/opt-optimizations?view=msvc-170

Thanks.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkc1u2zAQhJ9mdSEs0Luyfg48pHUJFEiaog3SMyWtLTYUKZCUjfTpCysB2lxIYH9mB9-YlOzZMys4fILDsTBrnkJUxERFH8ZX9VVM5sIesMmiZ_bC9I5FDsL4dOUo8mST6F-FC-HF-rMwWeSJxRiGdWafTbbBlyCPIO_e3l-TycKmber-_vlBXDgmG7wIJ_Hw8_kzYJME1BJQP35_Arr79vjji74VSL8pTDkvCegOUANqxyb6crZDDCmccjmEGVCz360JUA_LAqj71boRUEc-cWQ_MKAOS96FJdvZ_tlMJiB9sXwFOs7pMuz2jfzf9tNk_Esqi1HR2FFnClb7upX7di9rWUyKO2or2R5k2zXdqTnVTTc0SHUr0RzagQqrUCJJIrnHQ1PJkomQK9NXTA3RiFBJno11pXOXuQzxXNiUVlb1vqW2cKZnl7aYED1fxdYExFtqUd12dv16TlBJZ1NO_1SyzY7VR5ziavO04S_W6NRHomebp7V_B3mTef92Swy_eciAejt-47uZ-xsAAP__IPu0bg">