commit | 84c614d1ac671b1a5524169f20028f51c30be728 | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Tue May 22 19:30:31 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Tue May 22 19:30:31 2007 +0000 |
tree | 403c9fb91adee430fa6b28594dd2f0728a7c71a8 | |
parent | 4ad513ca153430c3a7f36be1ef43af04534e1f5d [diff] |
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