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

    <tr>
        <th>Summary</th>
        <td>
            [MLIR][SPIRV] mlir::createConvertSCFToSPIRVPass don't implement in llvm-17.0.4
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir
      </td>
    </tr>

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

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

<pre>
    in CMakeLists.txt, I use the following library.
`set(SC_SPIRV_LIBRARIES MLIRAnalysis
    MLIRIR
    MLIRDialect
    MLIRParser
 MLIRPass
    MLIRTransforms
    MLIRSideEffectInterfaces
 MLIRDialectUtils
    MLIRArithDialect
    MLIRArithToSPIRV
 MLIRSPIRVDialect
    MLIRSPIRVSerialization
    MLIRSPIRVConversion
 MLIRGPUDialect
    MLIRGPUToSPIRV
    MLIRSCFDialect
 MLIRSCFToSPIRV
    MLIRSCFTransformOps
 MLIRSCFTransforms
)`

the log is:
`
 undefined reference to `mlir::createConvertSCFToSPIRVPass()'
collect2: error: ld returned 1 exit status
`
I want to search the function, I only get the declaration, but not find the implementation.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMVE1vozwQ_jXmYhWBCQQOHNKkqZBavVHSvtfKwADeNXZkD23TX7-yk34kykp7ATzPzDNfj-HWil4BlCS9Jekq4BMO2pTj9DFwIbXqg1q3h1Iounzkv-FBWLQhviNhS1rRyQLFAWinpdRvQvVUitpwcwhJtCLRgmSRBSQs3y1fdptq-__LQ3W7XWyrux19fKi2C8XlwQp79KaUemu1PT-vBJfQ4Llxw40Fc7IdDfaC58lwZTttxgv7TrRw13XQYKUQTMcbsD-ITumeUciLwIUROFytxiNP2vf4g8qfrwZ4ZAdGcCk-OAqtruBLrV7B2G_QIfeb56uM95vn8wI-mZbrc_-T8W_OX1P7b28vIi7mSVhBsuj07Z9OC1L3VFiSLL4kcGKZVAudUNBSAx0YUA1Q1JRk0SiFcQHJojHAEY5943eRfrcsdwnZ_EjXaOl6YiRZUDBGOwIqHTdOxiWJKbwLpBY5Tvailoq-cYUuuwVumuEo4kk1fhFe2lrJA-0BPdRCI7nhn2g9IVUaaSdU63Ex7iWMoNC7nMQftGXSFknBAyjjrChmLMvzNBhKmDe8iNK8TeOMd3kNeRK1aREnDYvjOssCUbKIJXEc5dE8ilkS1mma5nXR8jyBpmaMzCIYuZChlK9jqE0fCGsnKOdxlrBA8hqk9TeaMT9bxtzdNqVzv6mn3pJZJP1V_iJAgdL_BdyySboi6e1RH-mK_tN-aOuGM8fvYVChqM8Yz8MonAWTkeWAuPfiYGvC1r3AYarDRo-ErZ3r6XWzN_qXUyxb-8YsYWvf258AAAD__yi5b7I">