<html>
    <head>
      <base href="https://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 --- - LLVM ERROR: Cannot select: 0x100297f3db8: i32 = select_cc 0x100297f1fb8, 0x100297f5248, 0x100297f3918, 0x100297f3a40, 0x100297f36c8 [ORD=2] [ID=29]"
   href="https://llvm.org/bugs/show_bug.cgi?id=24552">24552</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLVM ERROR: Cannot select: 0x100297f3db8: i32 = select_cc 0x100297f1fb8, 0x100297f5248, 0x100297f3918, 0x100297f3a40, 0x100297f36c8 [ORD=2] [ID=29]
          </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: PowerPC
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>anton@samba.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

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

csmith hit the following fail:

llc bugpoint-reduced-simplified.ll

LLVM ERROR: Cannot select: 0x100297f3db8: i32 = select_cc 0x100297f1fb8,
0x100297f5248, 0x100297f3918, 0x100297f3a40, 0x100297f36c8 [ORD=2] [ID=29]
  0x100297f1fb8: i1 = setcc 0x100297f35a0, 0x100297f5370, 0x100297f1e90 [ORD=2]
[ID=26]
    0x100297f35a0: i64 = add 0x100297f5498, 0x100297f3478 [ORD=2] [ID=24]
      0x100297f5498: i64,ch = PPCISD::TOC_ENTRY 0x100297f1d68,
0x100297f18c8<LD8[GOT]> [ORD=2] [ID=22]
        0x100297f1d68: i64 = TargetGlobalAddress<[10 x [4 x i64]]* @g_386> 0
[ORD=2] [ID=16]
        0x100297f18c8: i64 = Register %X2 [ID=12]
      0x100297f3478: i64 = Constant<304> [ID=10]
    0x100297f5370: i64,ch = PPCISD::TOC_ENTRY 0x100297f20e0,
0x100297f18c8<LD8[GOT]> [ORD=2] [ID=21]
      0x100297f20e0: i64 = TargetGlobalAddress<i64* @g_348> 0 [ORD=2] [ID=15]
      0x100297f18c8: i64 = Register %X2 [ID=12]
  0x100297f5248: i1 = setcc 0x100297f3228, 0x100297f37f0, 0x100297f3b68 [ORD=2]
[ID=28]
    0x100297f3228: i64 = zero_extend 0x100297f3100 [ORD=2] [ID=27]
      0x100297f3100: i1 = setcc 0x100297f2330, 0x100297f1b18, 0x100297f2580
[ORD=2] [ID=25]
        0x100297f2330: i64 = add 0x100297f1c40, 0x100297f2208 [ORD=2] [ID=23]
          0x100297f1c40: i64,ch = PPCISD::TOC_ENTRY 0x100297f2458,
0x100297f18c8<LD8[GOT]> [ORD=2] [ID=20]
            0x100297f2458: i64 = TargetGlobalAddress<[7 x i32]* @g_312> 0
[ORD=2] [ID=14]
            0x100297f18c8: i64 = Register %X2 [ID=12]
          0x100297f2208: i64 = Constant<12> [ID=2]
        0x100297f1b18: i64,ch = PPCISD::TOC_ENTRY 0x100297f3c90,
0x100297f18c8<LD8[GOT]> [ORD=2] [ID=19]
          0x100297f3c90: i64 = TargetGlobalAddress<i32* @g_3> 0 [ORD=2] [ID=13]
          0x100297f18c8: i64 = Register %X2 [ID=12]
    0x100297f37f0: i64 = Constant<0> [ID=8]
  0x100297f3918: i32 = Constant<-108> [ID=5]
  0x100297f3a40: i32 = Constant<0> [ID=6]
In function: main</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>