[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)
commitd48b38e9ec171f64cc8da0bd16deb5b7d48343df
treebd48e28f5ad036fe7bab58cbe0f111c429b720db
parent3e16bd3aaf5055ea94d9068210e98ae5ed4da78b
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239568 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.h