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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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:l...@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:l...@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs