Teach fast isel about the win64 calling convention.
authorNico Weber <nicolasweber@gmx.de>
Fri, 15 Jul 2016 20:18:37 +0000 (20:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 15 Jul 2016 20:18:37 +0000 (20:18 +0000)
commit8d66df15f4b57357819426a8bce67e9332cf9c9a
tree57776b6551587b7ffd6f685c48ab6b7841435430
parent6c715e1483cc2a21dd9d2076107d07b544538c89
Teach fast isel about the win64 calling convention.

This mostly just works.

Vectorcall rets are still not supported.

The win64_eh test change is because fast isel doesn't use rsi for temporary
computations, so it doesn't need to be pushed. The test case I'm changing was
originally added to test pushes, but by now there are other test cases in that
file exercising that code path.

https://reviews.llvm.org/D22422

llvm-svn: 275607
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-x86-64.ll
llvm/test/CodeGen/X86/win64_eh.ll