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)
commit847a9c6d778b3209683a92fcb37708b2e8b08f3f
tree22f2c5e0ca88f3b7bcaddf2710e3f6a71e3462be
parentadf38913f815a2a453d4783e88b1528473b4740d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166536 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallingConv.td
test/CodeGen/X86/fast-cc-callee-pops.ll
test/CodeGen/X86/fast-cc-merge-stack-adj.ll
test/CodeGen/X86/fast-cc-pass-in-regs.ll