Change x86_fastcallcc to require inreg markers. This allows it to known
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Oct 2012 01:58:48 +0000 (01:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 24 Oct 2012 01:58:48 +0000 (01:58 +0000)
commit4e6e537314b57fa5323c9ddb6da2857146676e08
tree2f30ec71c1757e1cb141e1fc40d73ef1e0cbe405
parent44818163ed98ae4d299e87c703344267ce8ed6a9
Change x86_fastcallcc to require inreg markers. This allows it to known
the difference from "int x" (which should go in registers and
"struct y {int x;}" (which should not).

Clang will be updated in the next patches.

llvm-svn: 166536
llvm/lib/Target/X86/X86CallingConv.td
llvm/test/CodeGen/X86/fast-cc-callee-pops.ll
llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll
llvm/test/CodeGen/X86/fast-cc-pass-in-regs.ll