<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 - X86 FP Stackifier: Using an undefined physical register"
   href="https://bugs.llvm.org/show_bug.cgi?id=39437">39437</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>X86 FP Stackifier: Using an undefined physical register
          </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>All
          </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>Backend: X86
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>francisvm@yahoo.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>craig.topper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>LLVM_ENABLE_MACHINE_VERIFIER=1 ./build/bin/llvm-lit -v -a
test/CodeGen/X86/avx512-regcall-NoMask.ll

# After X86 FP Stackifier
# Machine code for function test_CallargRetf80: NoPHIs, TracksLiveness, NoVRegs
Function Live Ins: $fp0

bb.0 (%ir-block.0):
  ADD_FrST0 $st0
  ADJCALLSTACKDOWN32 0, 0, 0, implicit-def dead $esp, implicit-def dead
$eflags, implicit-def dead $ssp, implicit $esp, implicit $ssp
  CALLpcrel32 @test_argRetf80, <regmask $bh $bl $bp $bph $bpl $bx $di $dih $dil
$ebp $ebx $edi $esi $esp $hbp $hbx $hdi $hsi $hsp $si $sih $sil $sp $sph $spl
$xmm4 $xmm5 $xmm6 $xmm7>, implicit $esp, implicit $ssp, implicit killed $fp0,
implicit-def $esp, implicit-def $ssp, implicit-def $fp0
  ADJCALLSTACKUP32 0, 0, implicit-def dead $esp, implicit-def dead $eflags,
implicit-def dead $ssp, implicit $esp, implicit $ssp
  ADD_FrST0 $st0
  RET 0

# End machine code for function test_CallargRetf80.

*** Bad machine code: Using an undefined physical register ***
- function:    test_CallargRetf80
- basic block: %bb.0  (0x7fae6500b478)
- instruction: CALLpcrel32 @test_argRetf80, <regmask $bh $bl $bp $bph $bpl $bx
$di $dih $dil $ebp $ebx $edi $esi $esp $hbp $hbx $hdi $hsi $hsp $si $sih $sil
$sp $sph $spl $xmm4 $xmm5 $xmm6 $xmm7>, implicit $esp, implicit $ssp, implicit
killed $fp0, implicit-def $esp, implicit-def $ssp, implicit-def $fp0
- operand 4:   implicit killed $fp0
LLVM ERROR: Found 1 machine code errors.</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>