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

    <tr>
        <th>Summary</th>
        <td>
            [AArch64][SVE] can fold constant operands for svlsl
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          k-arrows
      </td>
    </tr>
</table>

<pre>
    Test case:
https://godbolt.org/z/Pz68oo9P4
```cpp
#include "arm_sve.h"

svint64_t s64_x (svbool_t pg) {
    return svlsl_n_s64_x (pg, svdup_s64 (5), 2);
}
```

Reference:
https://gcc.gnu.org/pipermail/gcc-patches/2024-October/666313.html

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsUlGvmzwM_TXmJSpKHZLCAw_crx-vu9qmvVYhuMCWJigJ3O3--ilttU3TJCQTn9g-5zg6xmVyRC3IF5DnQm9p9qH9dtAh-LdYDH780X6mmJjRkUB0wLs5pTXmX-wB-8mPg7ep9GEC7N8B-9d3VXvfvFbAO1D88Zl1zUcUizN2G4kBog63S9ypnAExg7yL--KSqi6JRVVdvjPAOu6D9_aS2DoBNgxOL8A7xhgLlLbgWNxttBd3-VWQ7_3H4j5ua07mlARschJzFLkBnM5_sntM_0hXCuTMv3UaU05ue-pcl5XCTS_2gRxWncxMEbBHjtXhg0l-oADYK6XEUZRzulngXTG2YmxEowtqjyehhODHui7mtlEopKYr1XKssRHjiauBxkppwekkZbG0yFHyI695IxXWpRi5rocBj9SoRgmEilMmVFq73zLLYolxo_aIyGtRWD2Qjfc1Izp6Y3c0Gy_PRWhz0WHYpggVt0tM8XebtCR7fx9dF8ysKpBnkC-fvvwP8syMduzq7ciMdzFpl5hfKWg3Rnb14bGcYgu2_cvMJc3bUBp_A-zzpGc4rMF_JZMA-zu_bOhTwN7izwAAAP__G2HO7w">