[PATCH] D15354: [InstCombine] Extend peephole DSE to handle unordered atomics
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 8 14:58:52 PST 2015
reames created this revision.
reames added reviewers: jfb, hfinkel, sanjoy, dberlin, morisset, majnemer.
reames added a subscriber: llvm-commits.
This extends the same line of reasoning used in EarlyCSE w/http://reviews.llvm.org/D15352 to the DSE implementation in InstCombine.
Key points:
- We only remove unordered or simple stores.
- The loads producing values consumed by dead stores don't influence whether the store is dead.
http://reviews.llvm.org/D15354
Files:
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15354.42231.patch
Type: text/x-patch
Size: 4651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151208/852eaa1e/attachment-0001.bin>
More information about the llvm-commits
mailing list