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

            Bug ID: 19905
           Summary: [x86-64] Incorrect values for spill locations for
                    callee saved registers
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12582
  --> http://llvm.org/bugs/attachment.cgi?id=12582&action=edit
Full llc output

If I run the the following program through llc

declare void @llvm.eh.unwind.init()

define coldcc void @calls_unwind_init() {
  call void @llvm.eh.unwind.init()
  ret void
}

I get incorrect .cfi directives for the spill locations for CSR registers.  Eg.
I see

    .cfi_offset %rbx, -384

when, from manually inspecting the generated assembly, it should be

    .cfi_offset %rbx, -120

(I've attached the full output)

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

Reply via email to