<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - AArch64: crash in performSelectCombine()"
   href="http://llvm.org/bugs/show_bug.cgi?id=20775">20775</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AArch64: crash in performSelectCombine()
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>grosbach@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This optimization doesn't like v1i1 types.

target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-ios5.0.0"

define void @autogen_SD18027(i32) {
BB:
  %Cmp = icmp sge i32 121709, %0
  br label %CF80

CF80:                                             ; preds = %CF80, %BB
  br i1 undef, label %CF80, label %CF83

CF83:                                             ; preds = %CF83, %CF80
  %Sl70 = select i1 %Cmp, <1 x i1> undef, <1 x i1> zeroinitializer
  %E73 = extractelement <1 x i1> %Sl70, i32 0
  %brmerge = or i1 %E73, undef
  br i1 %brmerge, label %CF83, label %CF81

CF81:                                             ; preds = %CF83
  ret void
}

$ llc test.ll 
Assertion failed: (NumElements > 0 && "#Elements of a VectorType must be
greater than 0"), function get, file
/Users/grosbaj/sources/llvm/lib/IR/Type.cpp, line 710.

Found via llvm-stress.</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>