<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 - after fast regalloc: *** Bad machine code: Using an undefined physical register ***"
   href="https://bugs.llvm.org/show_bug.cgi?id=33677">33677</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>after fast regalloc: *** Bad machine code: 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>Linux
          </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>Register Allocator
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>paulsson@linux.vnet.ibm.com
          </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=18744" name="attach_18744" title="reduced testcase">attachment 18744</a> <a href="attachment.cgi?id=18744&action=edit" title="reduced testcase">[details]</a></span>
reduced testcase

bin/llc -verify-machineinstrs -regalloc=fast

BB#6: 
    Predecessors according to CFG: BB#3
        %vreg9:subreg_hl32<def> = COPY %vreg9:subreg_l32; GR128Bit:%vreg9
        %vreg17<def> = COPY %vreg9:subreg_l64; GR64Bit:%vreg17 GR128Bit:%vreg9
        J <BB#5>
    Successors according to CFG: BB#5(?%)

->

# After Fast Register Allocator
BB#6: 
    Predecessors according to CFG: BB#3
        %R0Q<def> = L128 <fi#0>, 0, %noreg; mem:LD16[FixedStack0](align=8)
        %R0L<def> = COPY %R1L, %R0Q<imp-use,kill>
        %R2D<def> = COPY %R1D
        ST128 %R0Q<kill>, <fi#0>, 0, %noreg; mem:ST16[FixedStack0](align=8)
        STG %R2D<kill>, <fi#1>, 0, %noreg; mem:ST8[FixedStack1]
        J <BB#5>
    Successors according to CFG: BB#5(?%)

*** Bad machine code: Using an undefined physical register ***
- function:    main
- basic block: BB#6  (0x432b5cb0)
- instruction: %R2D<def> = COPY
- operand 1:   %R1D</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>