[PATCH] D123198: [LibCalls] Add argument extension attributes to more functions.
Jonas Paulsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 30 09:58:46 PDT 2022
jonpa updated this revision to Diff 426235.
jonpa added a comment.
> Instead of calling getFunction(), should we just cast<Function>(C.getCallee())?
> Actually, also, should we check that the type of the Function is actually "T"?
Patch updated per review.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123198/new/
https://reviews.llvm.org/D123198
Files:
llvm/include/llvm/IR/Module.h
llvm/include/llvm/Transforms/Utils/BuildLibCalls.h
llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
llvm/lib/Transforms/IPO/InferFunctionAttrs.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
llvm/lib/Transforms/Utils/BuildLibCalls.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InferFunctionAttrs/annotate.ll
llvm/test/Transforms/InstCombine/SystemZ/libcall-arg-exts.ll
llvm/test/Transforms/InstCombine/double-float-shrink-1.ll
llvm/test/Transforms/InstCombine/pr39177.ll
llvm/test/Transforms/InstCombine/simplify-libcalls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123198.426235.patch
Type: text/x-patch
Size: 62823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220430/f9f7df4e/attachment.bin>
More information about the llvm-commits
mailing list