[SimplifyLibCalls] Library call simplification doen't work if the call site
authorChad Rosier <mcrosier@apple.com>
Fri, 8 Feb 2013 18:00:14 +0000 (18:00 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 8 Feb 2013 18:00:14 +0000 (18:00 +0000)
commit33daeab1bb8df65273fd9ecbf1a261f96733732e
tree5347c1d6dd7a02c7bb022f598850d41a52619595
parent9de31bd8298ae4c94c13bef9b8984745bfe41a60
[SimplifyLibCalls] Library call simplification doen't work if the call site
isn't using the default calling convention.  However, if the transformation is
from a call to inline IR, then the calling convention doesn't matter.
rdar://13157990

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174724 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstSimplify/call-callconv.ll [new file with mode: 0644]