<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Assertion failed: (!isSigned && "Legalize cannot Expand SINT_TO_FP for i64 yet"), function ExpandLegalINT_TO_FP, file lib/CodeGen/Selection DAG/LegalizeDAG.cpp, line 2420."
   href="https://bugs.llvm.org/show_bug.cgi?id=45274">45274</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion failed: (!isSigned && "Legalize cannot Expand SINT_TO_FP for i64 yet"), function ExpandLegalINT_TO_FP, file lib/CodeGen/Selection DAG/LegalizeDAG.cpp, line 2420.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Common Code Generator Code
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pkubaj@anongoth.pl
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23271" name="attach_23271" title="reproduction files">attachment 23271</a> <a href="attachment.cgi?id=23271&action=edit" title="reproduction files">[details]</a></span>
reproduction files

FreeBSD head on powerpc64 with LLVM 10 rc4.

Compiling emulators/mednafen port fails, this is a regression from 9.0.1:
Assertion failed: (!isSigned && "Legalize cannot Expand SINT_TO_FP for i64
yet"), function ExpandLegalINT_TO_FP, file
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp,
line 2420.
Stack dump:
0.      Program arguments: c++ -std=gnu++11 -fsigned-char
-DLOCALEDIR="/usr/local/share/locale" -DHAVE_CONFIG_H -I/usr/local/include/SDL2
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I../../include
-I../../include -I../../intl -I/usr/local/include -DLIBICONV_PLUG
-D_THREAD_SAFE -fno-fast-math -fno-unsafe-math-optimizations
-fomit-frame-pointer -fstrict-aliasing -Wall -Wshadow -Wempty-body
-Wignored-qualifiers -Wvla -Wvariadic-macros -Wdisabled-optimization
-Werror=write-strings -fno-pic -fno-pie -fno-PIC -fno-PIE -fwrapv -fjump-tables
-fexceptions -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -MT ers.o -MD -MP -MF .deps/ers.Tpo -c -o
ers.o ers.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'ers.cpp'.
4.      Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@_ZN14EmuRealSyncher10AddEmuTimeElb'</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>