MergeFuncs: Transfer the function parameter attributes to the call site
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 17 Jul 2015 18:59:08 +0000 (18:59 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 17 Jul 2015 18:59:08 +0000 (18:59 +0000)
commitbeda80e3bba64c6813ab5f0a4b24f201d6b248d7
tree7a2b10185f86d72f616e89a280515d32d0d31817
parent6624afccc6db4012864681f90350a3e43c3daf4b
MergeFuncs: Transfer the function parameter attributes to the call site

rdar://21516488

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242558 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp
test/Transforms/MergeFunc/apply_function_attributes.ll [new file with mode: 0644]
test/Transforms/MergeFunc/inttoptr-address-space.ll
test/Transforms/MergeFunc/inttoptr.ll