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

    <tr>
        <th>Summary</th>
        <td>
            [RISCV][clang] Remove the `zvfhmin` and `zvfh` check for `BaseType` and use `RequiredFeatures` in riscv_vector.td
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:RISC-V,
            clang:frontend
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            4vtomat
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          4vtomat
      </td>
    </tr>
</table>

<pre>
    Remove the `zvfhmin` and `zvfh` check for `BaseType` and use `RequiredFeatures` in riscv_vector.td to check the intrinsics instead, the type check should be done in `checkRVVTypeSupport`. This check also not able to work on the intrinsics that have `Float16` but the `BaseType` is not Float16 such as `vfcvt_f_x_v`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8Us2O2zwMfBr5Imwg0z9JDj7sDwx81-wi14C26UjfKlIqUW63T1_I60WLPkBPgsjhzJAYjNFcHVEnmicBUC_sb8gCQDQvBSbWPnRbsRj89NGd6OYXkqxJilb9XGZ9M060SqKbvir5O2oa3-XsQy4-YaS3jzt94VJcp0_0LZlAU0_IKVDMbeNkMHFcLguN7MOOJ8l-Y8uixnEwLpoxSuMiE04CntcOf9xpA0btk53kQHLyLs9ktbV1Op-zkdd0v_vAolU7-aZN3ObQRi-dZ4mDpaz73Yd36d3fyqyRpcZl3aK3Hrlss_kh8ddl_lzZxJV0A8qYRi0xZtQyjwtf5suPy5K9FFNXTcfqiAV15R6gOagDNIXujk3dTscah_1cHgjn-YgDlTVW1eGo6hkK04GCWh0UqLZW0OzqfTMj1kAVTIPaH0St6IbG7qxdbjsfroWJMVFXqrKFsrA4kI1bCgYc38lNono8_ff6_HDOcYBnATBadFdRPc7BO86Iz5yELpM-DOkaRa2siRx_y7Bhu8Yrc51F8yKap0-e5kX--zQVKdhOM9-jqB4F9AL6q2Gdht3obwL67Ht7Hu7B_08jC-jXW0UB_XaupYNfAQAA__-yKAvB">