PR8918 - When used with MinGW64, LLVM generates a "calll __main" at the
authorBill Wendling <isanbard@gmail.com>
Thu, 6 Jan 2011 00:47:10 +0000 (00:47 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 6 Jan 2011 00:47:10 +0000 (00:47 +0000)
commit78d15761e40a542b992ac811b4e3909c33d1513a
treef77196a5df4a6f965477fdb0f0b3ef86281a9f05
parent8c3527e7a475dd3369a485a4f610d56f7005b7b5
PR8918 - When used with MinGW64, LLVM generates a "calll __main" at the
beginning of the "main" function. The assembler complains about the invalid
suffix for the 'call' instruction. The right instruction is "callq __main".
Patch by KS Sreeram!

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