<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 --- - PowerPC setcc pattern missing"
   href="https://llvm.org/bugs/show_bug.cgi?id=24636">24636</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PowerPC setcc pattern missing
          </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=14798" name="attach_14798" title="Testcase">attachment 14798</a> <a href="attachment.cgi?id=14798&action=edit" title="Testcase">[details]</a></span>
Testcase

csmith hit what looks like another setcc missing pattern:

# llc bugpoint-reduced-simplified.ll
LLVM ERROR: Cannot select: 0x100061d2a48: i32 = setcc 0x100061ce9a0,
0x100061ce878, 0x100061ceac8 [ORD=2] [ID=15]
  0x100061ce9a0: i64,ch = PPCISD::TOC_ENTRY 0x100061cebf0,
0x100061cef68<LD8[GOT]> [ORD=2] [ID=14]
    0x100061cebf0: i64 = TargetGlobalAddress<i32* @c> 0 [ORD=2] [ID=11]
    0x100061cef68: i64 = Register %X2 [ID=10]
  0x100061ce878: i64,ch = PPCISD::TOC_ENTRY 0x100061d27f8,
0x100061cef68<LD8[GOT]> [ORD=2] [ID=13]
    0x100061d27f8: i64 = TargetGlobalAddress<[1 x i32]* @b> 0 [ORD=2] [ID=9]
    0x100061cef68: i64 = Register %X2 [ID=10]
In function: fn2</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>