[PATCH] D156991: [llvm][NFC] Use CreateMemTransferInst more
Nathan Sidwell via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 05:06:54 PDT 2023
urnathan created this revision.
urnathan added reviewers: jroelofs, gchatelet.
Herald added a subscriber: hiraditya.
Herald added a project: All.
urnathan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Rather than have distinct implementations of memcpy.inline and memmove creators, just use the existing CreateMemTransferInst, which plain
memcpy already uses. The AMD backend already generates memmove from that function.
Replace the existing API with forwarding functions.
Guillaume, you seem to have touched these most recently?
https://reviews.llvm.org/D156991
Files:
llvm/include/llvm/IR/IRBuilder.h
llvm/lib/IR/IRBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156991.546809.patch
Type: text/x-patch
Size: 5171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/fea43d16/attachment.bin>
More information about the llvm-commits
mailing list