[llvm-bugs] [Bug 32681] New: r300404 breaks building seabios

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 16 12:47:22 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: benny.kra at gmail.com
                CC: chandlerc at gmail.com, dimitry at andric.com,
                    djasper at google.com, llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170416/fafd2a26/attachment.html>


More information about the llvm-bugs mailing list