[llvm-bugs] [Bug 39437] New: X86 FP Stackifier: Using an undefined physical register

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 25 15:07:00 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39437

            Bug ID: 39437
           Summary: X86 FP Stackifier: Using an undefined physical
                    register
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: francisvm at yahoo.com
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181025/07810e37/attachment.html>


More information about the llvm-bugs mailing list