Correctly set attributes when removing args during cloning. Fixes PR2765
authorAndrew Lenharth <andrewl@lenharth.org>
Tue, 7 Oct 2008 18:08:38 +0000 (18:08 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Tue, 7 Oct 2008 18:08:38 +0000 (18:08 +0000)
commit82cf32e5efbb1f49ddd5742743599fa7f23ab925
tree687d82cd25567f85f4d67ef575fb25f769c96802
parent307e8ab581007eee66176cb008366ef486f3b87c
Correctly set attributes when removing args during cloning.  Fixes PR2765

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57254 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/CloneFunction.cpp