<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 --- - Instructions.cpp:1549: llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*): Assertion `isValidOperands(V1, V2, Mask) && "Invalid shuffle vector instruction operands!"' failed."
href="http://llvm.org/bugs/show_bug.cgi?id=19719">19719</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Instructions.cpp:1549: llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*, llvm::Value*, const llvm::Twine&, llvm::Instruction*): Assertion `isValidOperands(V1, V2, Mask) && "Invalid shuffle vector instruction operands!"' failed.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>brian.e.paul@gmail.com, jfonseca@vmware.com, llvmbugs@cs.uiuc.edu, sroland@vmware.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>mesa: 83b4ec03e77645c537d540a12253b3492bad4b59 (master 10.3.0-devel)
llvm: 3.5.0svn r20850
Run piglit cubemap-shader bias test on Mesa llvmpipe.
$ ./bin/cubemap-shader bias -auto
cubemap-shader: Instructions.cpp:1549:
llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, const llvm::Twine&, llvm::Instruction*): Assertion
`isValidOperands(V1, V2, Mask) && "Invalid shuffle vector instruction
operands!"' failed.
(gdb) bt
#0 0x00007fdfd0b47f79 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007fdfd0b4b388 in __GI_abort () at abort.c:89
#2 0x00007fdfd0b40e36 in __assert_fail_base (fmt=0x7fdfd0c92718 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x7fdfcedc3e00 "isValidOperands(V1, V2, Mask) &&
\"Invalid shuffle vector instruction operands!\"",
file=file@entry=0x7fdfcedc18c8 "Instructions.cpp", line=line@entry=1549,
function=function@entry=0x7fdfcedc6e00
<llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, llvm::Twine const&, llvm::Instruction*)::__PRETTY_FUNCTION__>
"llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, const llvm::Twine&, llvm::Instruction*)") at assert.c:92
#3 0x00007fdfd0b40ee2 in __GI___assert_fail (
assertion=0x7fdfcedc3e00 "isValidOperands(V1, V2, Mask) && \"Invalid
shuffle vector instruction operands!\"",
file=0x7fdfcedc18c8 "Instructions.cpp", line=1549,
function=0x7fdfcedc6e00
<llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, llvm::Twine const&, llvm::Instruction*)::__PRETTY_FUNCTION__>
"llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, const llvm::Twine&, llvm::Instruction*)") at assert.c:101
#4 0x00007fdfce7440e1 in
llvm::ShuffleVectorInst::ShuffleVectorInst(llvm::Value*, llvm::Value*,
llvm::Value*, llvm::Twine const&, llvm::Instruction*) () from
mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#5 0x00007fdfce3f4285 in llvm::IRBuilder<true, llvm::TargetFolder,
llvm::InstCombineIRInserter>::CreateShuffleVector(llvm::Value*, llvm::Value*,
llvm::Value*, llvm::Twine const&) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#6 0x00007fdfce3f95b8 in
llvm::InstCombiner::SimplifyVectorOp(llvm::BinaryOperator&) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#7 0x00007fdfce4390eb in llvm::InstCombiner::visitFMul(llvm::BinaryOperator&)
()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#8 0x00007fdfce3fe79e in llvm::InstCombiner::DoOneIteration(llvm::Function&,
unsigned int) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#9 0x00007fdfce3ff4c6 in llvm::InstCombiner::runOnFunction(llvm::Function&) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#10 0x00007fdfce755bb0 in llvm::FPPassManager::runOnFunction(llvm::Function&)
()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#11 0x00007fdfce755cd3 in
llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#12 0x00007fdfce755e54 in
llvm::legacy::FunctionPassManager::run(llvm::Function&) ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#13 0x00007fdfce6abc09 in LLVMRunFunctionPassManager ()
from mesa/build/linux-x86_64-debug/gallium/targets/libgl-xlib/libGL.so.1
#14 0x00007fdfcddad4bb in gallivm_optimize_function (gallivm=0x2448430,
func=0x24c9840)
at src/gallium/auxiliary/gallivm/lp_bld_init.c:582
#15 0x00007fdfcddad520 in gallivm_verify_function (gallivm=0x2448430,
func=0x24c9840)
at src/gallium/auxiliary/gallivm/lp_bld_init.c:610
#16 0x00007fdfcd97dbab in generate_fragment (lp=0x201cf10, shader=0x244fad0,
variant=0x24493a0, partial_mask=1)
at src/gallium/drivers/llvmpipe/lp_state_fs.c:2440
#17 0x00007fdfcd97e6e3 in generate_variant (lp=0x201cf10, shader=0x244fad0,
key=0x7fff2420d830)
at src/gallium/drivers/llvmpipe/lp_state_fs.c:2613
#18 0x00007fdfcd97fd1f in llvmpipe_update_fs (lp=0x201cf10) at
src/gallium/drivers/llvmpipe/lp_state_fs.c:3171
#19 0x00007fdfcd975b79 in llvmpipe_update_derived (llvmpipe=0x201cf10)
at src/gallium/drivers/llvmpipe/lp_state_derived.c:186
#20 0x00007fdfcd950210 in llvmpipe_draw_vbo (pipe=0x201cf10,
info=0x7fff2420db50)
at src/gallium/drivers/llvmpipe/lp_draw_arrays.c:64
#21 0x00007fdfcdcecde8 in cso_draw_vbo (cso=0x20b62a0, info=0x7fff2420db50)
at src/gallium/auxiliary/cso_cache/cso_context.c:1428
#22 0x00007fdfcdafb14b in st_draw_vbo (ctx=0x7fdfd1436010, prims=0x20a11c8,
nr_prims=1, ib=0x0,
index_bounds_valid=1 '\001', min_index=0, max_index=3, tfb_vertcount=0x0,
indirect=0x0)
at src/mesa/state_tracker/st_draw.c:276
#23 0x00007fdfcdbd7ede in vbo_exec_vtx_flush (exec=0x20a0a68, keepUnmapped=1
'\001') at src/mesa/vbo/vbo_exec_draw.c:409
#24 0x00007fdfcdbcf983 in vbo_exec_FlushVertices_internal (exec=0x20a0a68,
unmap=1 '\001')
at src/mesa/vbo/vbo_exec_api.c:555
#25 0x00007fdfcdbd165c in vbo_exec_FlushVertices (ctx=0x7fdfd1436010, flags=1)
at src/mesa/vbo/vbo_exec_api.c:1168
#26 0x00007fdfcda786bf in _mesa_ReadnPixelsARB (x=21, y=21, width=1, height=1,
format=6407, type=5126, bufSize=2147483647,
pixels=0x7fff2420dd80) at src/mesa/main/readpix.c:916
#27 0x00007fdfcda78c6f in _mesa_ReadPixels (x=21, y=21, width=1, height=1,
format=6407, type=5126, pixels=0x7fff2420dd80)
at src/mesa/main/readpix.c:1050
#28 0x00007fdfd0f857d2 in stub_glReadPixels (x=21, y=21, width=1, height=1,
format=6407, type=5126, pixels=0x7fff2420dd80)
at piglit/tests/util/generated_dispatch.c:27035
#29 0x00007fdfd0fbda99 in piglit_probe_pixel_rgb (x=21, y=21, expected=0x603110
<colors+48>)
at piglit/tests/util/piglit-util-gl.c:516
#30 0x000000000040182f in test_results (x=5, y=5, size=64, level=3, face=0,
mipmapped=1 '\001', color=3, maxlevel=6)
at piglit/tests/texturing/cubemap-shader.c:172
#31 0x0000000000401d64 in draw_at_size (size=64, x_offset=0, y_offset=0,
mipmapped=1 '\001')
at piglit/tests/texturing/cubemap-shader.c:283
#32 0x0000000000401fa0 in piglit_display () at
piglit/tests/texturing/cubemap-shader.c:345
#33 0x00007fdfd0f4b7e2 in display () at
piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:60
#34 0x00007fdfd08e8244 in fghRedrawWindow (window=0x201a750) at
freeglut_main.c:231
#35 fghcbDisplayWindow (window=0x201a750, enumerator=0x7fff2420df80) at
freeglut_main.c:248
#36 0x00007fdfd08ebaa9 in fgEnumWindows
(enumCallback=enumCallback@entry=0x7fdfd08e81d0 <fghcbDisplayWindow>,
enumerator=enumerator@entry=0x7fff2420df80) at freeglut_structure.c:396
#37 0x00007fdfd08e87fd in fghDisplayAll () at freeglut_main.c:271
#38 glutMainLoopEvent () at freeglut_main.c:1523
#39 0x00007fdfd08e8ffd in glutMainLoop () at freeglut_main.c:1571
#40 0x00007fdfd0f4bac4 in run_test (gl_fw=0x7fdfd123a380 <glut_fw>, argc=2,
argv=0x7fff2420e358)
at piglit/tests/util/piglit-framework-gl/piglit_glut_framework.c:154
#41 0x00007fdfd0f49819 in piglit_gl_test_run (argc=2, argv=0x7fff2420e358,
config=0x7fff2420e220)
at piglit/tests/util/piglit-framework-gl.c:151
#42 0x00000000004014be in main (argc=2, argv=0x7fff2420e358) at
piglit/tests/texturing/cubemap-shader.c:50</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>