<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][RTM] XBEGIN causes machine verifier errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=33028">33028</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[X86][RTM] XBEGIN causes machine verifier errors
          </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>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>Backend: X86
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>llvm-dev@redking.me.uk
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>asaf.badouh@intel.com, craig.topper@gmail.com, llvm-bugs@lists.llvm.org, michael.hliao@gmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>27481
          </td>
        </tr></table>
      <p>
        <div>
        <pre>\llvm\test\CodeGen\X86\rtm.ll

Adding -verify-machineinstrs to the rtm.ll test file machine verifier errors:


# After Expand ISel Pseudo-instructions
# Machine code for function test_xbegin: IsSSA, TracksLiveness

BB#0: derived from LLVM BB %entry
        XBEGIN_4 <BB#2>, %EAX<imp-def>
    Successors according to CFG: BB#1(?%) BB#2(?%)

BB#1: derived from LLVM BB %entry
    Predecessors according to CFG: BB#0
        %EAX<def> = MOV32ri -1
    Successors according to CFG: BB#2(?%)

BB#2: derived from LLVM BB %entry
    Live Ins: %EAX
    Predecessors according to CFG: BB#0 BB#1
        %vreg0<def> = COPY %EAX; GR32:%vreg0
        %EAX<def> = COPY %vreg0; GR32:%vreg0
        RET 0, %EAX

# End machine code for function test_xbegin.

*** Bad machine code: MBB has allocatable live-in, but isn't entry or
landing-pa
d. ***
- function:    test_xbegin
- basic block: BB#2 entry (0x2527150)
LLVM ERROR: Found 1 machine code errors.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - X86 make check has a bunch of machine verifier errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=27481">Bug 27481</a>] X86 make check has a bunch of machine verifier errors
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>