Fix PR 2169.

llvm-svn: 49339
This commit is contained in:
Daniel Berlin 2008-04-07 14:20:50 +00:00
parent 813384951e
commit b646062ad5
1 changed files with 3 additions and 0 deletions

View File

@ -957,6 +957,9 @@ bool Andersens::AddConstraintsForExternalCall(CallSite CS, Function *F) {
FirstArg, TempArg)); FirstArg, TempArg));
Constraints.push_back(Constraint(Constraint::Load, Constraints.push_back(Constraint(Constraint::Load,
TempArg, SecondArg)); TempArg, SecondArg));
// In addition, Dest = Src
Constraints.push_back(Constraint(Constraint::Copy,
FirstArg, SecondArg));
return true; return true;
} }