[all-commits] [llvm/llvm-project] 1eda54: [BuildLibCalls/SimplifyLibCalls] Fix attributes o...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Thu Jun 24 12:49:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1eda5453f2dcc9a9a4b4578fe74163c529974503
https://github.com/llvm/llvm-project/commit/1eda5453f2dcc9a9a4b4578fe74163c529974503
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2021-06-24 (Thu, 24 Jun 2021)
Changed paths:
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
M llvm/test/CodeGen/X86/no-plt-libcalls.ll
M llvm/test/Other/cgscc-libcall-update.ll
M llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll
M llvm/test/Transforms/InstCombine/ARM/strcmp.ll
M llvm/test/Transforms/InstCombine/debug-line.ll
M llvm/test/Transforms/InstCombine/exp2-1.ll
M llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll
M llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll
M llvm/test/Transforms/InstCombine/float-shrink-compare.ll
M llvm/test/Transforms/InstCombine/fortify-folding.ll
M llvm/test/Transforms/InstCombine/fprintf-1.ll
M llvm/test/Transforms/InstCombine/fputs-1.ll
M llvm/test/Transforms/InstCombine/fputs-opt-size.ll
M llvm/test/Transforms/InstCombine/fwrite-1.ll
A llvm/test/Transforms/InstCombine/libcall-param-attrs.ll
M llvm/test/Transforms/InstCombine/memcmp-1.ll
M llvm/test/Transforms/InstCombine/mempcpy.ll
M llvm/test/Transforms/InstCombine/memset-1.ll
M llvm/test/Transforms/InstCombine/memset_chk-1.ll
M llvm/test/Transforms/InstCombine/objsize.ll
M llvm/test/Transforms/InstCombine/pow_fp_int.ll
M llvm/test/Transforms/InstCombine/pow_fp_int16.ll
M llvm/test/Transforms/InstCombine/printf-1.ll
M llvm/test/Transforms/InstCombine/printf-2.ll
M llvm/test/Transforms/InstCombine/printf-3.ll
M llvm/test/Transforms/InstCombine/puts-1.ll
M llvm/test/Transforms/InstCombine/realloc.ll
M llvm/test/Transforms/InstCombine/simplify-libcalls.ll
M llvm/test/Transforms/InstCombine/sprintf-1.ll
M llvm/test/Transforms/InstCombine/sqrt.ll
M llvm/test/Transforms/InstCombine/stpcpy-1.ll
M llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll
M llvm/test/Transforms/InstCombine/strchr-1.ll
M llvm/test/Transforms/InstCombine/strcmp-1.ll
M llvm/test/Transforms/InstCombine/strcmp-memcmp.ll
M llvm/test/Transforms/InstCombine/strcpy-1.ll
M llvm/test/Transforms/InstCombine/strcpy_chk-1.ll
M llvm/test/Transforms/InstCombine/strcspn-1.ll
M llvm/test/Transforms/InstCombine/strncat-2.ll
M llvm/test/Transforms/InstCombine/strncpy-1.ll
M llvm/test/Transforms/InstCombine/strncpy_chk-1.ll
M llvm/test/Transforms/InstCombine/strndup.ll
M llvm/test/Transforms/InstCombine/strstr-1.ll
M llvm/test/Transforms/MergeICmps/X86/alias-merge-blocks.ll
M llvm/test/Transforms/MergeICmps/X86/entry-block-shuffled.ll
M llvm/test/Transforms/MergeICmps/X86/gep-references-bb.ll
M llvm/test/Transforms/MergeICmps/X86/int64-and-ptr.ll
M llvm/test/Transforms/MergeICmps/X86/multiple-blocks-does-work.ll
M llvm/test/Transforms/MergeICmps/X86/pair-int32-int32.ll
M llvm/test/Transforms/MergeICmps/X86/pr41917.ll
M llvm/test/Transforms/MergeICmps/X86/split-block-does-work.ll
Log Message:
-----------
[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions.
- When emitting libcalls, do not only pass the calling convention from the
function prototype but also the attributes.
- Do not pass attributes from e.g. libc memcpy to llvm.memcpy.
Review: Reid Kleckner, Eli Friedman, Arthur Eubanks
Differential Revision: https://reviews.llvm.org/D103992
More information about the All-commits
mailing list