[LLVMbugs] [Bug 13897] New: llc crashes with "UNREACHABLE executed" message

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 21 02:46:31 PDT 2012


             Bug #: 13897
           Summary: llc crashes with "UNREACHABLE executed" message
           Product: new-bugs
           Version: 3.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: junkoi2004 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

i have a simple IR file like below:

; ModuleID = 'gg.bc'
@aaa = external global i128
@bbb = external global i128

define void @depasta() nounwind {
  %0 = load i128* @bbb
  %1 = and i128 %0, 4294967295
  %2 = shl i128 %0, 96
  %3 = mul i128 %1, 18446744078004518913
  %4 = add i128 %3, %2
  store i128 %4, i128* @aaa
  ret void

i tried to compile this IR file to bitcode file (with llvm-as), then
compile BC file to native code (with llc).
however, llc crashes like below:

C:\>llvm-as gg.ll
C:\>llc -filetype=obj gg.bc

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

this looks like a bug, doesn't it? any idea why?

this is LLVM 3.1, on Windows 32bit.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list