From b646062ad5df8a76bf3863b805afc467ba7d256b Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Mon, 7 Apr 2008 14:20:50 +0000 Subject: [PATCH] Fix PR 2169. llvm-svn: 49339 --- llvm/lib/Analysis/IPA/Andersens.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/Analysis/IPA/Andersens.cpp b/llvm/lib/Analysis/IPA/Andersens.cpp index 9af904f49269..ab80bab95c70 100644 --- a/llvm/lib/Analysis/IPA/Andersens.cpp +++ b/llvm/lib/Analysis/IPA/Andersens.cpp @@ -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; }