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

    <tr>
        <th>Summary</th>
        <td>
            Slowdown from the `final` keyword
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          define-private-public
      </td>
    </tr>
</table>

<pre>
    Hi.  I published [this blog post](https://16bpp.net/blog/post/the-performance-impact-of-cpp-final-keyword/) last week Monday about the `final` keyword.  I made a note of a slowdown that was found when using clang/LLVM to compile and run the code.

[On Hacker News discussion](https://news.ycombinator.com/item?id=40125240) an LLVM developer commented:
> As an LLVM developer, I really wish the author filed a bug report and waited for some analysis BEFORE publishing an article (that may never get amended) that recommends not using this keyword with clang for performance reasons. I suspect there's just a bug in clang. 

1. Is this an actual bug?
2. Would someone be willing to provide analysis as to what's going on?

I plan on writing a follow up post shortly since the discussion surrounding everything seemed to be a bit more than I anticipated; and I feel a lot of people got the intent of the article wrong.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0VF-PozYQ_zTOyyiIGEiWBx5uu4su0l1PaqX22eABfGs8lscsyrev7OR6W7V9AQnPDL9_Y8VsZofYieZZNC8HtcWFQqdxMg6PPph3FfHot8Ga8TCQvnWfTQFwhfyJF9Qgmue4GIbB0gyeOIrmRcinJUbPovokZC9kfzoP3hcOo5B9KhSyz6WyjwsePYaJwqrciEezejXGI03H0fvjZJyyxze87RR0HtWCVRxhR3yDr-S0uoEaaIsQFwRxLnOHOJfwaMpoV6URFDiKCDSBAra0a9odxEVF2BXDRJvTsC_oYGPjZhitcgnnly9_fIVIMNLqjUVQTkPYXP7fSBoLUb6I8tPj2Tx_c_BZjW8Y4FfcGbThcWM25P5LF4c7F7eR1sE4FSkUI61C9ibiKqreaFG91OVJNrIuE3XlIMPR-I6WPIaEakUX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