[LLVMbugs] [Bug 8827] New: MachineVerifier complains about undefined physical registers at segment register uses

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 19 21:41:46 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=8827

           Summary: MachineVerifier complains about undefined physical
                    registers at segment register uses
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: zwarich at apple.com
                CC: llvmbugs at cs.uiuc.edu


For example, on X86/tls5.ll:

# Machine code for function f:
Function Live Outs: %EAX

0L    BB#0: derived from LLVM BB %entry
4L        %reg16384<def> = MOV32rm %reg0, 1, %reg0, <ga:@i>[TF=11], %GS<kill>;
mem:LD4[@i] GR32:%reg16384
12L        %EAX<def> = COPY %reg16384<kill>; GR32:%reg16384
20L        RET %EAX<imp-use,kill>

# End machine code for function f.

*** Bad machine code: Using an undefined physical register ***
- function:    f
- basic block: entry 0x102847198 (BB#0) [0L;32L)
- instruction: 4L    %reg16384<def> = MOV32rm %reg0, 1, %reg0, <ga:@i>[TF=11],
%GS<kill>; mem:LD4[@i] GR32:%reg16384
- operand 5:   %GS<kill>
LLVM ERROR: Found 1 machine code errors.

There are similar errors for %FS.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list