Make sure that simplify libcalls does not replace a call with one calling
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Jun 2010 19:34:01 +0000 (19:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 16 Jun 2010 19:34:01 +0000 (19:34 +0000)
commite96af56a5baf1db88ba1ed6adf83084ea0a92ae5
tree8a5ccdc3d1134da629cee5497ec081b8d0cb8856
parent956352eb4682ba7000486d8712a4435a843a48d4
Make sure that simplify libcalls does not replace a call with one calling
convention with a new call with a different calling convention.

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