summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PassManager.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-29 19:07:18 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-29 19:07:18 +0000
commite87c917a698b9e75d4dbd257f6be928dd52a0e77 (patch)
tree49a15766408781ddb1b2a4fcd0e7aa75fd12b419 /llvm/lib/VMCore/PassManager.cpp
parentb4a2f05d1c97c38319ab82132266d7ebf42bf3e4 (diff)
downloadbcm5719-llvm-e87c917a698b9e75d4dbd257f6be928dd52a0e77.tar.gz
bcm5719-llvm-e87c917a698b9e75d4dbd257f6be928dd52a0e77.zip
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. llvm-svn: 33623
Diffstat (limited to 'llvm/lib/VMCore/PassManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud