[llvm-bugs] [Bug 33606] New: r304055 introduces verifier errors from rescheduling register tuple copies

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jun 26 16:44:20 PDT 2017


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

            Bug ID: 33606
           Summary: r304055 introduces verifier errors from rescheduling
                    register tuple copies
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: Matthew.Arsenault at amd.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18719
  --> https://bugs.llvm.org/attachment.cgi?id=18719&action=edit
Testcase

# After Post RA top-down list latency scheduler
# Machine code for function sched_breaks_tuple_copy: IsSSA, NoPHIs,
TracksLiveness, NoVRegs
Function Live Ins: %SGPR7, %SGPR0_SGPR1_SGPR2_SGPR3

BB#0: 
    Live Ins: %SGPR7 %SGPR0_SGPR1_SGPR2_SGPR3
        %SGPR10<def> = S_MOV_B32 5
        %SGPR9<def> = S_MOV_B32 4
        %SGPR8<def> = S_MOV_B32 3
        %SGPR33<def> = S_MOV_B32 %SGPR7<kill>
        %VGPR0<def> = V_MOV_B32_e32 %SGPR8<kill>, %EXEC<imp-use>,
%VGPR0_VGPR1_VGPR2_VGPR3<imp-def>, %SGPR8_SGPR9_SGPR10_SGPR11<imp-use>
        BUNDLE %SGPR6_SGPR7<imp-def>, %SGPR6<imp-def>, %SGPR7<imp-def>,
%SCC<imp-def>
          * %SGPR6_SGPR7<def> = S_GETPC_B64
          * %SGPR6<def> = S_ADD_U32 %SGPR6<internal>, 0, %SCC<imp-def>
          * %SGPR7<def> = S_ADDC_U32 %SGPR7<internal>, 0, %SCC<imp-def>,
%SCC<imp-use,internal>
        %SGPR4<def> = S_MOV_B32 %SGPR33
        %VGPR1<def> = V_MOV_B32_e32 %SGPR9<kill>, %EXEC<imp-use>,
%SGPR8_SGPR9_SGPR10_SGPR11<imp-use>
        %VGPR2<def> = V_MOV_B32_e32 %SGPR10<kill>, %EXEC<imp-use>,
%SGPR8_SGPR9_SGPR10_SGPR11<imp-use>
        %VGPR3<def> = V_MOV_B32_e32 %SGPR11<kill>, %EXEC<imp-use>,
%SGPR8_SGPR9_SGPR10_SGPR11<imp-use>, %EXEC<imp-use>
        %SGPR32<def> = S_MOV_B32 %SGPR33<kill>
        S_NOP 0, %SGPR6_SGPR7<imp-use,kill>, %SGPR0_SGPR1_SGPR2_SGPR3<imp-use>,
%SGPR4<imp-use>, %VGPR0_VGPR1_VGPR2_VGPR3<imp-use,kill>
        S_ENDPGM

# End machine code for function sched_breaks_tuple_copy.

*** Bad machine code: Using an undefined physical register ***
- function:    sched_breaks_tuple_copy
- basic block: BB#0  (0x7fa1be806028)
- instruction: %VGPR3<def> = V_MOV_B32_e32
- operand 3:   %SGPR8_SGPR9_SGPR10_SGPR11<imp-use>
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/20170626/92af8e7d/attachment.html>


More information about the llvm-bugs mailing list