The InReg parameter attribute is valid on function results. The llvm-gcc-4.0
authorReid Spencer <rspencer@reidspencer.com>
Tue, 31 Jul 2007 06:33:37 +0000 (06:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 31 Jul 2007 06:33:37 +0000 (06:33 +0000)
commit6e800fe6cba47b6a4e112d678d06bfc811628caa
tree378a3c1456d5eace875cd6d298926ee049db0b61
parent4ebcc8c2f8f91230066198cd9919766d9e8a4ef1
The InReg parameter attribute is valid on function results. The llvm-gcc-4.0
front end converts regparm attribute on the gcc function into InReg attribute
on the llvm function. This fixes test/CFrontend/2002-07-30-SubrefSetAssertion.c

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40618 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Verifier.cpp