This is an archive of the discontinued LLVM Phabricator instance.

[X86] Output cfi directives for saved XMM registers even if no GPRs are saved

Authored by mstorsjo on Nov 17 2017, 12:45 PM.



This makes sure that functions that only clobber xmm registers (on win64) also get the right cfi directives, if dwarf exceptions are enabled. (D39673 will allow users to enable dwarf on x86_64 on clang.)

Diff Detail


Event Timeline

mstorsjo created this revision.Nov 17 2017, 12:45 PM
rnk accepted this revision.Nov 17 2017, 12:48 PM

Ouch, thanks for the fix, looks good.

This revision is now accepted and ready to land.Nov 17 2017, 12:48 PM
This revision was automatically updated to reflect the committed changes.