<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:peter.waller@arm.com" title="Peter Waller <peter.waller@arm.com>"> <span class="fn">Peter Waller</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - "shufflevector vscale" results in crash (code gen)"
   href="https://bugs.llvm.org/show_bug.cgi?id=48836">bug 48836</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>peter.waller@arm.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - "shufflevector vscale" results in crash (code gen)"
   href="https://bugs.llvm.org/show_bug.cgi?id=48836#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - "shufflevector vscale" results in crash (code gen)"
   href="https://bugs.llvm.org/show_bug.cgi?id=48836">bug 48836</a>
              from <span class="vcard"><a class="email" href="mailto:peter.waller@arm.com" title="Peter Waller <peter.waller@arm.com>"> <span class="fn">Peter Waller</span></a>
</span></b>
        <pre>Hi Loris,

Thanks for reporting the issue.

The error message "Running pass 'X86 ..." indicates that that llc is doing
instruction selection for x86. Scalable vectors are only supported with
-mtriple=aarch64 and -mattr=+sve (or equivalent function attributes).

Your reproducer produces correct code when fed into llc -mtriple=aarch64
-mattr=+sve: <a href="https://godbolt.org/z/Tb7ajPx3T">https://godbolt.org/z/Tb7ajPx3T</a>

I'm marking this as resolved but please reopen the thread if I've missed
something, and please file another bug if you find this kind of error through
another route.

Regards,

- Peter</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>