[LLVMbugs] [Bug 12682] New: UNREACHABLE executed at X86CodeEmitter.cpp:1010!

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 26 23:33:04 PDT 2012


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

             Bug #: 12682
           Summary: UNREACHABLE executed at X86CodeEmitter.cpp:1010!
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            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


llvm-3.2svn r155693

Run piglit test hiz-stencil-read-window-depth1 on Mesa llvmpipe.

$ ./bin/hiz-stencil-read-window-depth1 -auto
Cannot encode all operands of: %XMM0<def> = VPSRLDri %XMM2, 24

UNREACHABLE executed at X86CodeEmitter.cpp:1010!


(gdb) bt
#0  0x00007f4e172fd445 in __GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f4e17300bab in __GI_abort () at abort.c:91
#2  0x00007f4e18a5df6c in llvm::llvm_unreachable_internal(char const*, char
const*, unsigned int) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#3  0x00007f4e181e3cf5 in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::emitInstruction(llvm::MachineInstr&,
llvm::MCInstrDesc const*) () from
mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#4  0x00007f4e181e5bab in (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction(llvm::MachineFunction&)
() from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#5  0x00007f4e18a0bb1f in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#6  0x00007f4e18a0cf6d in llvm::FunctionPassManagerImpl::run(llvm::Function&)
()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#7  0x00007f4e18a0d13d in llvm::FunctionPassManager::run(llvm::Function&) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#8  0x00007f4e18497b6e in llvm::JIT::jitTheFunction(llvm::Function*,
llvm::MutexGuard const&) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#9  0x00007f4e18497f8c in llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*,
llvm::MutexGuard const&) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#10 0x00007f4e1849827f in llvm::JIT::getPointerToFunction(llvm::Function*) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#11 0x00007f4e184b62d6 in
llvm::ExecutionEngine::getPointerToGlobal(llvm::GlobalValue const*) ()
   from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#12 0x00007f4e17e0169e in generate_fragment (lp=0x1965120, shader=0x1b33220,
variant=0x1b35a80, partial_mask=1)
    at src/gallium/drivers/llvmpipe/lp_state_fs.c:812
#13 0x00007f4e17e02258 in generate_variant (lp=0x1965120, shader=0x1b33220,
key=0x7fff19961ea0)
    at src/gallium/drivers/llvmpipe/lp_state_fs.c:968
#14 0x00007f4e17e033de in llvmpipe_update_fs (lp=0x1965120) at
src/gallium/drivers/llvmpipe/lp_state_fs.c:1399
#15 0x00007f4e17dff26b in llvmpipe_update_derived (llvmpipe=0x1965120)
    at src/gallium/drivers/llvmpipe/lp_state_derived.c:155
#16 0x00007f4e17de685b in llvmpipe_draw_vbo (pipe=0x1965120,
info=0x7fff19962100)
    at src/gallium/drivers/llvmpipe/lp_draw_arrays.c:64
#17 0x00007f4e180c47f5 in cso_draw_vbo (cso=0x1a9bb20, info=0x7fff19962100)
    at src/gallium/auxiliary/cso_cache/cso_context.c:1367
#18 0x00007f4e17f64bed in st_draw_vbo (ctx=0x1a0fdf0, arrays=0x1a88de0,
prims=0x7fff199621e0, nr_prims=1, ib=0x0, 
    index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0)
at src/mesa/state_tracker/st_draw.c:1128
#19 0x00007f4e180029f9 in vbo_draw_arrays (ctx=0x1a0fdf0, mode=7, start=0,
count=4, numInstances=1)
    at src/mesa/vbo/vbo_exec_array.c:613
#20 0x00007f4e18002b1d in vbo_exec_DrawArrays (mode=7, start=0, count=4) at
src/mesa/vbo/vbo_exec_array.c:641
#21 0x0000000000431834 in stub_glDrawArrays (mode=7, first=0, count=4)
    at piglit/tests/util/generated_dispatch.c:5061
#22 0x000000000046cdd9 in piglit_draw_rect (x=0, y=0, w=266.666656, h=400)
    at piglit/tests/util/piglit-util-gl.c:778
#23 0x00000000004268c8 in hiz_run_test_stencil_read_common () at
piglit/tests/hiz/hiz-util.c:544
#24 0x0000000000426aae in hiz_run_test_stencil_read_window () at
piglit/tests/hiz/hiz-util.c:599
#25 0x000000000042566f in piglit_display () at
piglit/tests/hiz/hiz-stencil-read-window-depth1.c:53
#26 0x00000000004277c1 in display () at piglit/tests/util/piglit-framework.c:56
#27 0x00007f4e179d8220 in fghRedrawWindow (window=0x19638c0) at
freeglut_main.c:210
#28 fghcbDisplayWindow (window=0x19638c0, enumerator=0x7fff199623c0) at
freeglut_main.c:227
#29 0x00007f4e179db939 in fgEnumWindows (enumCallback=0x7f4e179d8120
<fghcbDisplayWindow>, enumerator=0x7fff199623c0)
    at freeglut_structure.c:394
#30 0x00007f4e179d865a in fghDisplayAll () at freeglut_main.c:249
#31 glutMainLoopEvent () at freeglut_main.c:1450
#32 0x00007f4e179d8f65 in glutMainLoop () at freeglut_main.c:1498
#33 0x0000000000427f5e in main (argc=1, argv=0x7fff19962718) at
piglit/tests/util/piglit-framework.c:304

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