[Stackmaps][X86] Remove EFLAGS and IP registers from the live-out mask.
authorJuergen Ributzka <juergen@apple.com>
Thu, 11 Jun 2015 22:40:04 +0000 (22:40 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 11 Jun 2015 22:40:04 +0000 (22:40 +0000)
commit03cb0d8b46a20760674299872131e6cd6f0cd37d
tree805de8f04e22965503061b0cda3155fdaead1286
parenta9d62535727e23588c86dd6ad1d339cb331799ac
[Stackmaps][X86] Remove EFLAGS and IP registers from the live-out mask.

Remove the EFLAGS from the stackmap live-out mask. The EFLAGS register is not
supposed to be part of that set, because the X86 calling conventions mark the
register as NOT preserved.

Also remove the IP registers, since spilling and restoring those doesn't really
make any sense.

Related to rdar://problem/21019635.

llvm-svn: 239568
llvm/lib/Target/X86/X86RegisterInfo.cpp
llvm/lib/Target/X86/X86RegisterInfo.h