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

    <tr>
        <th>Summary</th>
        <td>
            Backport 6e19e6ce36e4 and 08a880509e4f into Clang 15.x
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:X86,
            release:backport
      </td>
    </tr>

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

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

<pre>
    As detailed on https://reviews.llvm.org/D128934 - we didn't include the CPUID bit masks for the RDPRU instruction when adding support

We also didn't add test coverage for the `__RDPRU__`  macro on znver2 and znver3 targets

/cherry-pick 6e19e6ce36e44554ac9fbf8b2780de05e922c849 08a880509e4f7ca8d346dce42fe7528c3a33f22c
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUsmO2zAM_Rr7IiSQtdjSwYdMggJFL4MUg_YWaKFtNYoVSHKm06-v4hnMAggSSRF875HUwb70u4QsZOU8WBRmNOV8TRXdVeRbORFuDp7T1vvbZRviWEKHhghJGdqgZ0DW2bkiXUZuNn6xgPIEaP_49P2AtMvootI5oSHENX48PB6fSmbKcTHZFbDnCWakrHXziNJyvYaYK3yo8O71_gVI-RQ-UEoqypAyMuEGUY3wXrtq8em0ApxOxUYF2sRwF_RvLqkEqdm-mhRlFUfI6TNS0WUmiPFlc3XmjFpoJLQGaAuMcc6UkYMehCadwBYwB0mIEUwiLJQQmGMJbOiMEpay1hpgZICOE2GoonQouTX0TdtiQnHHeW17aiWVqs4ue-gflDnfpX-BXQl_Ll8alwPae1V61fDt33qJvv86rdHladFbEy7FuY_s7dlcY_gDJhfXpbRAKgbvsCT11CtpJLONloQDYYoa1mBDzUA40R23Q-2VBp_6ij9UhOhCFWZbEH-LtvgV2aPyRPCgEpSwftNy_-OH2vUEE4JF0zS8IZRtiWlZazTXQjSFgqoYhktZvvcNq2O_UtbLmMqndyl_rF-tUnLjDLDSKfXVkqcQ--OPn-4S5npV16_S_gP3auQN">