Check to see if the 'no-builtin' attribute is set before simplifying a library call.
authorBill Wendling <isanbard@gmail.com>
Mon, 18 Feb 2013 23:17:16 +0000 (23:17 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 18 Feb 2013 23:17:16 +0000 (23:17 +0000)
commit2af5035a1d4124881c8fe3d46354341d01374fb7
treeb0112606f92f6b77ac9f302d59ca692a33f8158e
parent5b0a8d9ca6602ba22d20a5ed7cbf50e5f5f2b369
Check to see if the 'no-builtin' attribute is set before simplifying a library call.

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