Fix PR 2169.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Berlin 2008-04-07 14:20:50 +00:00
parent e2c4304654
commit a2ce2e3dd9

View File

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