[PATCH] D136201: [InstCombine] Handle PHI nodes when eliminating constant memcpy
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 21:04:44 PST 2022
gandhi21299 updated this revision to Diff 477055.
gandhi21299 added a comment.
- Eliminated addrspace casts in the PointerReplacer::replace() function
- If the PHI node under inspection resides in the default addrspace, do not allow replacing a value which copied from a non-default addrspace.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136201/new/
https://reviews.llvm.org/D136201
Files:
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
llvm/test/Transforms/InstCombine/replace-alloca-phi.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136201.477055.patch
Type: text/x-patch
Size: 14642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221122/3d53e14b/attachment.bin>
More information about the llvm-commits
mailing list