<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 --- - [ARM64] Assertion `hiBitsSet <= numBits && "Too many bits to set!"' failed."
   href="http://llvm.org/bugs/show_bug.cgi?id=19548">19548</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ARM64] Assertion `hiBitsSet <= numBits && "Too many bits to set!"' failed.
          </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>Linux
          </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>mcrosier@codeaurora.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>benny.kra@gmail.com, llvmbugs@cs.uiuc.edu, t.p.northover@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I see an assertion failure with the following test case:

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
target triple = "arm64-none-linux-gnu"

; Function Attrs: nounwind
define void @core_list_init() #0 {
entry:
  br label %for.body

for.body:                                         ; preds =
%core_list_insert_new.exit89, %entry
  %i.0113 = phi i32 [ 0, %entry ], [ %inc, %core_list_insert_new.exit89 ]
  %conv10 = xor i32 %i.0113, 0
  %and = shl i32 %conv10, 3
  %shl = and i32 %and, 120
  %and13 = and i32 %i.0113, 7
  %or = or i32 %shl, %and13
  %shl16 = shl nuw nsw i32 %or, 8
  %or18 = or i32 %shl16, %or
  %conv19 = trunc i32 %or18 to i16
  br i1 undef, label %if.end.i78, label %core_list_insert_new.exit89

if.end.i78:                                       ; preds = %for.body
  br i1 undef, label %if.end4.i87, label %core_list_insert_new.exit89

if.end4.i87:                                      ; preds = %if.end.i78
  store i16 %conv19, i16* undef, align 2, !tbaa !1
  br label %core_list_insert_new.exit89

core_list_insert_new.exit89:                      ; preds = %if.end4.i87,
%if.end.i78, %for.body
  %inc = add i32 %i.0113, 1
  br label %for.body
}

attributes #0 = { nounwind "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"stack-protector-buffer-size"="8" "unsafe-fp-math"="false"
"use-soft-float"="false" }

!llvm.ident = !{!0}

!0 = metadata !{metadata !"clang version 3.5.0 "}
!1 = metadata !{metadata !2, metadata !3, i64 0}
!2 = metadata !{metadata !"list_data_s", metadata !3, i64 0, metadata !3, i64
2}
!3 = metadata !{metadata !"short", metadata !4, i64 0}
!4 = metadata !{metadata !"omnipotent char", metadata !5, i64 0}
!5 = metadata !{metadata !"Simple C/C++ TBAA"}</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>