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

    <tr>
        <th>Summary</th>
        <td>
            [llvm-exegesis] --num-repetitions is inconsistent with its name
        </td>
    </tr>

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

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

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

<pre>
    Currently, the `--num-repetitions` flag in `llvm-exegesis` specifies the minimum number of instructions that should be executed rather than the number of repetitions of the snippe that should be run. This doesn't create confusion when benchmarking individual instructions, but does create confusion when the user is benchmarking a snippet as the number of repetitions is not equal to the number of instructions anymore. It seems like this flag was left over from before `llvm-exegesis` could execute snippets.

It seems like this flag should be renamed to something like `--min-instructions` to avoid user confusion. This would be a breaking change, but would be a clean breaking change that does not silently fail anywhere.

@legrosbuffle - Thoughts on renaming this?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8VM2O2zYQfhrqMrAhU5IdHXRIszDQe16AlEbiNPxxOaSdffuCtLdZb7u52BC-0cfvZyjFTJtHnMTwh5BSh-CUV7SgPwy9kFIML43KyYQ4PWONDsvr9C3HiD7ZVyG_QTII4tjudj67XcQLJkoUPItjC6tVG5AvuLVXt8OfuCFTxfiCM62EXBkceXLZgc9OY4SwAnlOMc-VC5JRCdiEbBfQCPgT55xwgaiSwVhgX2l-vf5OSXksIHu6XPAjV8x-D98NMSwB2Qt5SjBHVAlhDn7NTMHDzaAHjX42TsUf5Iurha60ZGWflJZEdE6V6xOaIiUzRiB-plQPhQkU_8YNMfiQAP8uZ6fwYfIpNuVfXYi4hz8TMKJjsPSjJEB87-amGCyuCcIVI6wxONC4hoj_W9lcM3uE_yaW96J9Ee3X--9nB73LG71yuBTlHBwmU6zX6bpFjvzuKdBjW0bVNdByj-3fOB-13d6YFeiIqkY5G-U3fCvj3cRsUfmPc_eVqJWVZJls3W5YFdmS4c1gxCebom8tbjGwzutqEXbw3YS8mcQQ_N1ioS_-RXdulqlbxm5UDU6HU9t33dgfusZMckGcUX3ph0O3drjo8TiM6zgcT-us2143NMlW9u2h7duuOw5yf1oG3cu51aM-rrieRN-iU2T3pax9iFtDzBmn0_HL2DZWabT8uOUeb1DBxwWPUy1Y542LHeLEv1gSJVs_D89LMLzAfy56WUjyc_BMnNAnuFEyQImhFN3kaCeT0oVF91XIs5DnjZLJej8HJ-S58D_-dpcY_sI5CXmuOlnIc_XxTwAAAP__-uejHg">