[PATCH] D136524: [InstCombine] Handle select inst when eliminating constant memcpy
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 19 07:32:11 PST 2023
gandhi21299 updated this revision to Diff 490509.
gandhi21299 added a comment.
- Added a test with varying addrspaces across the source and dest of a memcpy and the alloca is eliminated.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136524/new/
https://reviews.llvm.org/D136524
Files:
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/ptr-replace-alloca.ll
llvm/test/Transforms/InstCombine/replace-alloca-phi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136524.490509.patch
Type: text/x-patch
Size: 5418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230119/f5a95b4b/attachment.bin>
More information about the llvm-commits
mailing list