From cd78af6e3c94921fc3f1e587c837be6b400602d9 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 17 Aug 2010 21:06:01 +0000 Subject: [PATCH] Enable more win64 calls folding opportunities. Patch by Cameron Esfahani! llvm-svn: 111288 --- llvm/lib/Target/X86/X86InstrInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp index 58508e6b7b30..ed7ca4d39364 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.cpp +++ b/llvm/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 },