From a2ce2e3dd97e30f08933f3839c603d13a0fa9806 Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Mon, 7 Apr 2008 14:20:50 +0000 Subject: [PATCH] Fix PR 2169. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49339 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/IPA/Andersens.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 9af904f4926..ab80bab95c7 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/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; }