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

            Bug ID: 32681
           Summary: r300404 breaks building seabios
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Reduced test case:

$ cat t.c
unsigned long long rdmsr(unsigned index) {
  unsigned long long ret;
  asm("rdmsr" : "=A"(ret) : "c"(index));
  return ret;
}

$ clang t.c -m16
fatal error: error in backend: Cannot select: t19: i32 = build_pair t17, t18
  t17: i16,ch,glue = CopyFromReg t16, Register:i16 %AX, t16:1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to