CloneFunction: Clone all attributes, including the CC

Description

CloneFunction: Clone all attributes, including the CC

Summary:
Tested with a unit test because we don't appear to have any transforms
that use this other than ASan, I think.

Fixes PR17935.

Reviewers: nicholas

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D3194

rL204866

llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp

Loading...

llvm/trunk/unittests/Transforms/Utils/Cloning.cpp

Loading...

Add Comment