<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 --- - ERROR when attempting to store a <2 x i4>"
   href="http://llvm.org/bugs/show_bug.cgi?id=20012">20012</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ERROR when attempting to store a <2 x i4>
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </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>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jaak.randmets@cyber.ee
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12647" name="attach_12647" title="Test case">attachment 12647</a> <a href="attachment.cgi?id=12647&action=edit" title="Test case">[details]</a></span>
Test case

When compiling the attached file "llc test2.ll" the following error is
reported:

LLVM ERROR: Cannot select: 0x259a948: ch = store 0x2571920, 0x259a420,
0x259a210, 0x259a210<ST1[undef], trunc to v2i4> [ORD=2] [ID=6]
  0x259a420: v2i64 = bitcast 0x259a108 [ORD=2] [ID=5]
    0x259a108: v4i32 = BUILD_VECTOR 0x259a000, 0x259a000, 0x259a000, 0x259a000
[ORD=2] [ID=4]
      0x259a000: i32 = TargetConstant<0> [ID=3]
      0x259a000: i32 = TargetConstant<0> [ID=3]
      0x259a000: i32 = TargetConstant<0> [ID=3]
      0x259a000: i32 = TargetConstant<0> [ID=3]
  0x259a210: i64 = undef [ID=1]
  0x259a210: i64 = undef [ID=1]
In function: test</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>