[PATCH] D147348: [MergedLoadStoreMotion] Merge stores with conflicting value types
Jeffrey Byrnes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 16:09:44 PDT 2023
jrbyrnes updated this revision to Diff 510636.
jrbyrnes added a comment.
Add tests for interesting cases.
Check isBitOrNoopPointerCastable when matching stores.
Combine isLoadStoreConflictingType , createBitCast => CreateBitOrPointerCast
Remove isTriviallyBitcasted (this is aleady caught by store->isSimple() and AA->isMustAlias.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147348/new/
https://reviews.llvm.org/D147348
Files:
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/Instruction.cpp
llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
llvm/test/Transforms/MergedLoadStoreMotion/st_sink_conflict_type.ll
llvm/test/Transforms/PhaseOrdering/bitcast-store-branch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147348.510636.patch
Type: text/x-patch
Size: 22923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230403/0feebec6/attachment.bin>
More information about the llvm-commits
mailing list