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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Should DXILDataScalarization the Alloca visitor be checking for Vectors and Arrays of Vectors?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue,
            backend:DirectX
      </td>
    </tr>

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

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

<pre>
    We currently just are checking for Arrays of vectors. That means its possible we aren't transforming alloca of vectors to arrays.

https://github.com/llvm/llvm-project/blob/2f817d1c9e7341d634931e3deb3f849ce67035da/llvm/lib/Target/DirectX/DXILDataScalarization.cpp#L127
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUks9u3CwUxZ8Gb9BnmYvxn4UX83VkqVJ2idpsL3A9JmHMCPBEydNXdiftqOqmK1sXnQP3_A6m5E4L0cDU_wxgwvgRFs8AmDoWuOY5xOE2LHSw78N34maNkZbs3_nLmjLHSNzMZF7dcuJTiPwQI74nHiZ-JZNDTCV_mjHzM-GSuMuJX0JKTnvib7TJFwZt5jnikqYQz5sPeh8M3nnwHDjuxiWrDqw6zDlfEpMHBiOD8eTyvOrShDOD0fvr5-e_SwwvZDKDUfugGYwwdaK1wvTUylrYRta9FCQtaTl1dW-oaSupLN75uE33hPFEm8_RRTL5eft7_vpwxIyPBj1G94HZhaU0lwsD-SCgLewgbS97LGgQraq6TnV1U8yD0KLpK2WaCdTUyQaxFrLtpKkmY7sGCjdABapqQIEQVd2USti-l5VoqdVCqJrVFZ3R-XJ7YxniqXAprTSIWrUdFB41-XSDutAb3083rPCFAWg0r7RYJg-_ltmBx2HPTK-nxOrKu5TT7wuyy37vyadGHfnjHFZv-V-D4HkmfvjJ8eqSyyFy_UdVvt3g4mLvanObMjkWa_TDP5Pel00Mxlsa1wF-BAAA__90avJ4">