From: Anton Korobeynikov Date: Tue, 17 Aug 2010 21:06:01 +0000 (+0000) Subject: Enable more win64 calls folding opportunities. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e9df15e65c28f13287c7fe69f0c5dafe2e8fa48b;p=oota-llvm.git Enable more win64 calls folding opportunities. Patch by Cameron Esfahani! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111288 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp index 58508e6b7b3..ed7ca4d3936 100644 --- a/lib/Target/X86/X86InstrInfo.cpp +++ b/lib/Target/X86/X86InstrInfo.cpp @@ -235,6 +235,7 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm) { X86::BT64ri8, X86::BT64mi8, 1, 0 }, { X86::CALL32r, X86::CALL32m, 1, 0 }, { X86::CALL64r, X86::CALL64m, 1, 0 }, + { X86::WINCALL64r, X86::WINCALL64m, 1, 0 }, { X86::CMP16ri, X86::CMP16mi, 1, 0 }, { X86::CMP16ri8, X86::CMP16mi8, 1, 0 }, { X86::CMP16rr, X86::CMP16mr, 1, 0 }, @@ -304,6 +305,7 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm) { X86::SETSr, X86::SETSm, 0, 0 }, { X86::TAILJMPr, X86::TAILJMPm, 1, 0 }, { X86::TAILJMPr64, X86::TAILJMPm64, 1, 0 }, + { X86::WINTAILJMPr64,X86::WINTAILJMPm64, 1, 0 }, { X86::TEST16ri, X86::TEST16mi, 1, 0 }, { X86::TEST32ri, X86::TEST32mi, 1, 0 }, { X86::TEST64ri32, X86::TEST64mi32, 1, 0 },