Add WIN_FTOL_* psudo-instructions to model the unique calling convention
authorMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 Feb 2012 19:01:22 +0000 (19:01 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Fri, 24 Feb 2012 19:01:22 +0000 (19:01 +0000)
commit1a2d061ec08b86ba91d7009b6ffcf08d5bac3f42
treecbec6cd246acee66e0949a47d315b3e3ea3169ba
parent27bc818eaf73efe169f95c4dd8f564fd051dd824
Add WIN_FTOL_* psudo-instructions to model the unique calling convention
used by the Win32 _ftol2 runtime function. Patch by Joe Groff!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FloatingPoint.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86InstrCompiler.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/win_ftol2.ll [new file with mode: 0644]