[PATCH] D150595: [InstCombine] Simplify MemTransferInst with type inference
Anshil Gandhi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 10:23:15 PDT 2023
gandhi21299 created this revision.
gandhi21299 added a reviewer: nikic.
Herald added subscribers: StephenFan, zzheng, hiraditya.
Herald added a project: All.
gandhi21299 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Use pointee type of a MemTransferInst's source value,
instead of an integer type, prior to replacing it with
a load/store pair.
Change-Id: If81de94bae6287abe90672cc9016233db8c94e61
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150595
Files:
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/memcpy_alloca.ll
llvm/test/Transforms/PhaseOrdering/X86/SROA-after-final-loop-unrolling-2.ll
llvm/test/Transforms/PhaseOrdering/swap-promotion.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150595.522253.patch
Type: text/x-patch
Size: 8010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/43335e59/attachment.bin>
More information about the llvm-commits
mailing list