diff options
author | Wei Mi <wmi@google.com> | 2017-09-08 16:44:52 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2017-09-08 16:44:52 +0000 |
commit | 5d84d9b35ccae7fc17acc08a15658bbc2884555e (patch) | |
tree | 81ce263c07bacfb7531ae7353d723b17d724a166 /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | |
parent | e85a7e7cd5aa8471d4bd93605162f911c2cbf947 (diff) | |
download | bcm5719-llvm-5d84d9b35ccae7fc17acc08a15658bbc2884555e.tar.gz bcm5719-llvm-5d84d9b35ccae7fc17acc08a15658bbc2884555e.zip |
Fix a bug for rL312641.
rL312641 Allowed llvm.memcpy/memset/memmove to be tail calls when parent
function return the intrinsics's first argument. However on arm-none-eabi
platform, llvm.memcpy will be expanded to __aeabi_memcpy which doesn't
have return value. The fix is to check the libcall name after expansion
to match "memcpy/memset/memmove" before allowing those intrinsic to be
tail calls.
llvm-svn: 312799
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions