[LLVMbugs] [Bug 19905] New: [x86-64] Incorrect values for spill locations for callee saved registers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 30 19:19:06 PDT 2014


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: unassignedbugs at nondot.org
          Reporter: sanjoy at playingwithpointers.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140531/ecc712d7/attachment.html>


More information about the llvm-bugs mailing list