This patch follows is a follow up to r178171, which uses the register
authorPreston Gurd <preston.gurd@intel.com>
Wed, 27 Mar 2013 23:16:18 +0000 (23:16 +0000)
committerPreston Gurd <preston.gurd@intel.com>
Wed, 27 Mar 2013 23:16:18 +0000 (23:16 +0000)
commit1fd36e41e408307a4e7362cc9cd83aeb77ee71dd
treed3032eb577b61d11731bc84f5bb4eb5ebd740f08
parentc8d65364223a04b179958a50a4bf0f89b21dd7d2
This patch follows is a follow up to r178171, which uses the register
form of call in preference to memory indirect on Atom.

In this case, the patch applies the optimization to the code for reloading
spilled registers.

The patch also includes changes to sibcall.ll and movgs.ll, which were
failing on the Atom buildbot after the first patch was applied.

This patch by Sriram Murali.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178193 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/atom-call-reg-indirect-foldedreload32.ll [new file with mode: 0644]
test/CodeGen/X86/atom-call-reg-indirect-foldedreload64.ll [new file with mode: 0644]
test/CodeGen/X86/movgs.ll
test/CodeGen/X86/sibcall.ll