<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 --- - PPC Back end crashes in 32-bit mode on conversions of i64 to/from f32"
   href="https://llvm.org/bugs/show_bug.cgi?id=23173">23173</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PPC Back end crashes in 32-bit mode on conversions of i64 to/from f32
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>nemanja.i.ibm@gmail.com
          </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>Reduced test case:
$ cat bug_conv_f32_to_i64.c 
// Compile with clang -target=powerpc-unknown-unknown -c -mcpu=pwr7
unsigned long long testullf(float arg) { return arg; }

$ clang -target=powerpc-unknown-unknown -c -mcpu=pwr7 bug_conv_f32_to_i64.c
Do not know how to custom type legalize this operation!
UNREACHABLE executed at $LLVM_SRC/lib/Target/PowerPC/PPCISelLowering.cpp:7729!

Same thing happens when llc is run on the resulting ll/bc file.</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>