[InstCombine] remove incompatible attribute when simplifying some lib calls
authorZequan Wu <zequanwu@google.com>
Sat, 23 Jan 2021 01:06:41 +0000 (17:06 -0800)
committerZequan Wu <zequanwu@google.com>
Sat, 23 Jan 2021 01:27:36 +0000 (17:27 -0800)
commit867bdfeff1786f9f910c7cd4689fe56d9dcdf162
tree3e14d2e27b26f6a4b535fa205f68b127e455e997
parent480cbed31e74b0db3d31d78789b639af250ce9fe
[InstCombine] remove incompatible attribute when simplifying some lib calls

Like D95088, remove incompatible attribute in more lib calls.

Differential Revision: https://reviews.llvm.org/D95278
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/memcpy-1.ll
llvm/test/Transforms/InstCombine/memcpy_chk-1.ll
llvm/test/Transforms/InstCombine/memmove-1.ll
llvm/test/Transforms/InstCombine/memmove_chk-1.ll
llvm/test/Transforms/InstCombine/memset-1.ll
llvm/test/Transforms/InstCombine/memset_chk-1.ll
llvm/test/Transforms/InstCombine/stpcpy-1.ll
llvm/test/Transforms/InstCombine/strcpy-1.ll
llvm/test/Transforms/InstCombine/strncpy-1.ll