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

    <tr>
        <th>Summary</th>
        <td>
            [err]What is the role of -target?
        </td>
    </tr>

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

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

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

<pre>
    What is the role of -target?
The file armv8.1m.main_hard_fp.cfg does not exist in the compiler, but when I compile with -target armv8.1m.main_hard_fp.cfg, there is no error. Using --config armv8.1m.main_hard_fp.cfg will result in an error。


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkT-P3CAQRz_NuEFr4bF9xxYUe38spU-U8jTGY0OCYQV4N_n2kZ07pUqUCgn0ezzpUc5uCcwa-ifoXyraio1Jj9lS_E5hqcY4_dRfLRXhsiiWRYqeRZzFqVBauMDrAE_PcB5AXj5bFrPzLCitN1U3a72SC2-W0vQ2X2szL2KKnEWIRfAPl4tw4WCauF6d5wT4LMatiLvlID59XIu7K_bjv7-z93GxnHg3DVFwSjHV4kt2YRGnk4lhdss_1O7Oe5E4b_7wovCbAK8tKAkKQV5AXqpJt9O5PVPFunns5YPCVnaV1a1USrEkpTpCxX3ToGoNmpHI0NSYymmU2MsHbBtsFXa16bvZUP8oH5lkP87QSV7J-dr721rHtFQu54110_VtoypPI_t8hEIMfBfHKyDu3ZLeR6dxWzJ00rtc8h9MccUfhTkl6F_-p2a1Ja9tKdcM7QVwABwWV-w21iaugMPOfj9O1xS_sSmAw2GUAYd35ZvGXwEAAP__x-DFog">