The Intrinsic::getDeclaration function's Tys parameter only contains the
authorReid Spencer <rspencer@reidspencer.com>
Tue, 22 May 2007 19:30:31 +0000 (19:30 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 22 May 2007 19:30:31 +0000 (19:30 +0000)
commit84c614d1ac671b1a5524169f20028f51c30be728
tree403c9fb91adee430fa6b28594dd2f0728a7c71a8
parent4ad513ca153430c3a7f36be1ef43af04534e1f5d
The Intrinsic::getDeclaration function's Tys parameter only contains the
types of the iAny types involved in the overloaded intrinsic. Thus, we
can't use the argument number as the index but have to count them separately
in order to index Tys correctly. This patch rectifies this situation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37296 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/IntrinsicEmitter.cpp