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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Update lifetime intrinsic legalization after the removal of the size argument
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:DirectX
      </td>
    </tr>

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

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

<pre>
    Due to #150248, the following DirectX CodeGen tests are failing due to lifetime intrinsic function signature not matching what is expected by FileCheck.
```
  LLVM :: CodeGen/DirectX/ShaderFlags/lifetimes-noint64op.ll
  LLVM :: CodeGen/DirectX/legalize-lifetimes-valver-1.5.ll
  LLVM :: CodeGen/DirectX/legalize-lifetimes-valver-1.6.ll
  LLVM :: CodeGen/DirectX/legalize-memset.ll
```

These tests need to be updated to support the new lifetime intrinsic signature which now lacks the size argument.

Furthermore, the EmbedDXILPass' legalization of lifetime intrinsics (#150100) will need to be updated to re-add the size argument required by LLVM 3.7 / DXIL.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysU92K2zwUfBr55hAjyT9JLnyRb_O5LGyh0B_2VraObXVlKZWOk-4-fbGT7LbsFlooGIyNZjRnZo6K0fQOsWLFf0zK29YPqIN3TEpW7BM10eBD9fw7abx-rPYTAnlgMhMFl_mGyRugAaHz1vqTcT3sTcCW7uHGa3yHDggjRVABoVPGzif0mcOaDsmMCMZRMC6aFrrJtWS8g1mZoikgOE8wKmqHGXkaFIGJgN8P2BJqaB6hNhZvBmwfUsZ3rOSXh-8A7u6-vAeW7Vi2u8phsr4IZLL-OCiNobaqj0zWVz1x5bxxVOb-kFr7R0QWe2XNE65eOI7KHjGsRFr8C5Lyr0lGHCPSGfazK4zvPg0Y8ZKLQ9RzGA3CdNCKzl9xOhx8oCVZh6e3onpJ6DSYdgDnT2BV-xAXUDRPCCr004iO0vO19RRowDD6gNfW_D82qPf3t3cfVIxMruEiXy0l8N0bF0dgcnOun-CcyS2cjLW_mSPgSmn9WhEE_DaZcC7QYmmWroHJGmYxaaKrTG-zrUqwEusiL9ecr8tkqDKZZZtWbcUWpcjKhnedWPOyEKIpy6IUiakklwXf8I0opRBl2uhGlDovs3zLN5g1LOc4KmNTa49j6kOfmBgnrEQh10WeWNWgjZeNbFT7gE6zbPec77KZoZrBq2bqI8u5NZHiCx0ZsstKXzHFHj4vjryV4i9-q44wLGYFHP1R2TmBV94lU7DVQHSIcw1lzWTdGxqmJm39ODfQHq-v1SH4r9gSk_Uy5bxll0GPlfwRAAD__6eGess">