Fix the TCRETURNmi64 bug differently.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Sep 2012 18:31:27 +0000 (18:31 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 13 Sep 2012 18:31:27 +0000 (18:31 +0000)
commit7bba7d0efc69ff3da5a064a5d77513dd5aca0f15
treef811128f53af99ed0996105df15eb81ecb3d7102
parentce52bc53538df8e5412ec507f2da3661c991baf1
Fix the TCRETURNmi64 bug differently.

Add a PatFrag to match X86tcret using 6 fixed registers or less. This
avoids folding loads into TCRETURNmi64 using 7 or more volatile
registers.

<rdar://problem/12282281>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163819 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrCompiler.td
test/CodeGen/X86/tailcall-64.ll