commit | f049c6712d77be98c9b448cf8b696b7bfffee85f | [log] [tgz] |
---|---|---|
author | Reid Spencer <rspencer@reidspencer.com> | Mon Jan 29 19:07:18 2007 +0000 |
committer | Reid Spencer <rspencer@reidspencer.com> | Mon Jan 29 19:07:18 2007 +0000 |
tree | f20724e5a680300e77cebfd1647ad1d22bcd0a5c | |
parent | 072200c36dd96b94e772029fd72edf9fa120c467 [diff] |
For PR1142: When an unresolved definition is found, check to see if it is only unresolved because the csretcc was upgraded to the sret param attribute. Such changes change the function type and lead to unresolved definitions. In such cases, just cast the function to the type expected by the CallInst. That is, cast to the version of the function that has the sret param attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33623 91177308-0d34-0410-b5e6-96231b3b80d8