OSDN Git Service

Change CloneFunctionInto to always clone Argument attributes induvidually,
authorJoey Gouly <joey.gouly@arm.com>
Wed, 10 Apr 2013 10:37:38 +0000 (10:37 +0000)
committerJoey Gouly <joey.gouly@arm.com>
Wed, 10 Apr 2013 10:37:38 +0000 (10:37 +0000)
commit0f57a98a65df5e617ed0adcf0ca0877745c84a79
tree10743791225d1222121f38f58c7a3a37f659d9f5
parent4d0e8a8a3e2e5b98f598acad4d57452b99d52e74
Change CloneFunctionInto to always clone Argument attributes induvidually,
rather than checking if the source and destination have the same number of
arguments and copying the attributes over directly.

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