have the mc lowering process handle a few tail call forms, lowering them to
authorChris Lattner <sabre@nondot.org>
Fri, 9 Jul 2010 00:49:41 +0000 (00:49 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 9 Jul 2010 00:49:41 +0000 (00:49 +0000)
commitc5f5626a29d9465eedbaea69b7c11033e97782ae
treec7f3570dfbd2db1ac1c9df519a6bdca196ddb19a
parenta0148c360e9bb4badabf1a2397cfd70907618f87
have the mc lowering process handle a few tail call forms, lowering them to
jumps where possible and turning the TAILCALL marker in the instruction
asm string into a proper comment.

This eliminates a FIXME and is on the path to finishing:
rdar://7639610 - eliminate encoding and asm info for TAILJMPd TAILJMPr TAILJMPn, etc.

However, I can't eliminate the encodings for these instructions because the JIT
still exists and has its own copy of the encoder, sigh.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp
lib/Target/X86/X86AsmBackend.cpp
lib/Target/X86/X86InstrInfo.td