[LLVMbugs] [Bug 19548] New: [ARM64] Assertion `hiBitsSet <= numBits && "Too many bits to set!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 24 13:16:00 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19548

            Bug ID: 19548
           Summary: [ARM64] Assertion `hiBitsSet <= numBits && "Too many
                    bits to set!"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: mcrosier at codeaurora.org
                CC: benny.kra at gmail.com, llvmbugs at cs.uiuc.edu,
                    t.p.northover at gmail.com
    Classification: Unclassified

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"}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140424/a9ef3c2f/attachment.html>


More information about the llvm-bugs mailing list