Allow the INREG parameter attribute to be added to functions. This permits the
authorReid Spencer <rspencer@reidspencer.com>
Tue, 31 Jul 2007 06:37:27 +0000 (06:37 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 31 Jul 2007 06:37:27 +0000 (06:37 +0000)
commitbf7f45152c32198918c2dccff7c7ac823c686ff1
tree4daf0f1ac6f742ef2290f73bcfefae1bcdaca633
parent6e800fe6cba47b6a4e112d678d06bfc811628caa
Allow the INREG parameter attribute to be added to functions. This permits the
function result to be passed in a register. This implements the GCC regparm
function attribute for llvm by translation to the InReg parameter attribute
and fixes test/CFrontend/2002-07-30-SubregSetAssertion.c

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40619 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/llvmAsmParser.y