[LLVMbugs] [Bug 12680] New: UNREACHABLE executed at MCTargetDesc/X86BaseInfo.h:453!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 26 22:28:18 PDT 2012


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

             Bug #: 12680
           Summary: UNREACHABLE executed at
                    MCTargetDesc/X86BaseInfo.h:453!
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: vlee at freedesktop.org
                CC: brian.e.paul at gmail.com, jfonseca at vmware.com,
                    llvmbugs at cs.uiuc.edu
    Classification: Unclassified


The Mesa unit test lp_test_arit crashes on Linux and Mac OS X with llvm-3.2svn.

$ ./build/linux-x86_64-debug/bin/lp_test_arit
Unknown immediate size
UNREACHABLE executed at MCTargetDesc/X86BaseInfo.h:453!

(gdb) bt
#0  0x00007f1fa3be9445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f1fa3becbab in __GI_abort () at abort.c:91
#2  0x0000000000cd1eac in llvm::llvm_unreachable_internal(char const*, char
const*, unsigned int) ()
#3  0x00000000004a2f80 in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::emitInstruction(llvm::MachineInstr&,
llvm::MCInstrDesc const*) ()
#4  0x00000000004a502b in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction(llvm::MachineFunction&)
()
#5  0x0000000000c7fa5f in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
#6  0x0000000000c80ead in llvm::FunctionPassManagerImpl::run(llvm::Function&)
()
#7  0x0000000000c8107d in llvm::FunctionPassManager::run(llvm::Function&) ()
#8  0x000000000070b76e in llvm::JIT::jitTheFunction(llvm::Function*,
llvm::MutexGuard const&) ()
#9  0x000000000070bb8c in llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*,
llvm::MutexGuard const&) ()
#10 0x000000000070be7f in llvm::JIT::getPointerToFunction(llvm::Function*) ()
#11 0x0000000000729ed6 in
llvm::ExecutionEngine::getPointerToGlobal(llvm::GlobalValue const*) ()
#12 0x0000000000444cab in test_unary (gallivm=0x25f8e10, verbose=0, fp=0x0,
test=0xcfe580)
    at src/gallium/drivers/llvmpipe/lp_test_arit.c:255
#13 0x0000000000444e7f in test_all (gallivm=0x25f8e10, verbose=0, fp=0x0)
    at src/gallium/drivers/llvmpipe/lp_test_arit.c:295
#14 0x0000000000444ec5 in test_some (gallivm=0x25f8e10, verbose=0, fp=0x0,
n=1000)
    at src/gallium/drivers/llvmpipe/lp_test_arit.c:312
#15 0x0000000000445e76 in main (argc=1, argv=0x7fff10a973d8) at
src/gallium/drivers/llvmpipe/lp_test_main.c:401

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