[llvm-bugs] [Bug 33028] New: [X86][RTM] XBEGIN causes machine verifier errors

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 12 10:13:10 PDT 2017


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

            Bug ID: 33028
           Summary: [X86][RTM] XBEGIN causes machine verifier errors
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: asaf.badouh at intel.com, craig.topper at gmail.com,
                    llvm-bugs at lists.llvm.org, michael.hliao at gmail.com
            Blocks: 27481

\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.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=27481
[Bug 27481] X86 make check has a bunch of machine verifier 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/20170512/98898f31/attachment-0001.html>


More information about the llvm-bugs mailing list