OSDN Git Service

Fix an inconsistency in the x86 backend that led it to reject "calll foo" on
authorChris Lattner <sabre@nondot.org>
Wed, 22 Sep 2010 05:49:14 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 22 Sep 2010 05:49:14 +0000 (05:49 +0000)
commit1eb1b68e3a5241591bfa18d4beb0e0cf13a48ef2
treeea46f1ec87dc011eea1a6f8f9f0b50826a3d825d
parentbc57c6db4a3a1f5df4450d8dbb100e1eb6944c28
Fix an inconsistency in the x86 backend that led it to reject "calll foo" on
x86-32: 32-bit calls were named "call" not "calll".  64-bit calls were correctly
named "callq", so this only impacted x86-32.

This fixes rdar://8456370 - llvm-mc rejects 'calll'

This also exposes that mingw/64 is generating a 32-bit call instead of a 64-bit call,
I will file a bugzilla.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114534 91177308-0d34-0410-b5e6-96231b3b80d8
22 files changed:
lib/Target/X86/AsmParser/X86AsmParser.cpp
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll
test/CodeGen/X86/abi-isel.ll
test/CodeGen/X86/dll-linkage.ll
test/CodeGen/X86/dollar-name.ll
test/CodeGen/X86/ghc-cc.ll
test/CodeGen/X86/memmove-0.ll
test/CodeGen/X86/memmove-1.ll
test/CodeGen/X86/memmove-3.ll
test/CodeGen/X86/memset-2.ll
test/CodeGen/X86/mingw-alloca.ll
test/CodeGen/X86/movgs.ll
test/CodeGen/X86/pic.ll
test/CodeGen/X86/sibcall-3.ll
test/CodeGen/X86/sibcall.ll
test/CodeGen/X86/tailcall-stackalign.ll
test/CodeGen/X86/unaligned-load.ll
test/CodeGen/X86/win_chkstk.ll
test/MC/AsmParser/X86/x86_32-new-encoder.s
test/MC/AsmParser/X86/x86_operands.s