[PATCH] [PATCH] Fix for http://llvm.org/bugs/show_bug.cgi?id=19905

Sanjoy Das sanjoy at playingwithpointers.com
Sat Jun 7 22:57:41 PDT 2014


>>! In D4052#5, @vadimcn wrote:
> Looking at the llc output you provided in the bug, I notice that it spilled and emitted CFI info for XMM registers.  What target was that compiled for?   AFAIK, only Windows 64 ABI specifies XMMs as callee-saved.   So if it was for Win64, my patch would directly address your problem.

Hi Vadim,

I haven't looked at your change yet, but this change has nothing to do
with Win64 specifically.  The test case simply forces llvm (using
llvm.eh.unwind.init) to spill out all the registers as CSRs, and the
.cfi_offset values emitted demonstrate the bug I'm trying to address.

http://reviews.llvm.org/D4052






More information about the llvm-commits mailing list