[PATCH] D19440: [GVN] Do local FRE for unordered atomic loads
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 15:10:21 PDT 2016
reames created this revision.
reames added reviewers: dberlin, jfb, sanjoy.
reames added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
This patch is the first in a small series teaching GVN to optimize unordered loads aggressively. This change just handles block local FRE because that's the simplest thing which lets me test MDA, and the AvailableValue pieces. Somewhat suprisingly, MDA appears fine and only a couple of small changes are needed in GVN.
Once this is in, I'll tackle non-local FRE and PRE. The former looks like a natural extension of this, the later will require a couple of minor changes.
http://reviews.llvm.org/D19440
Files:
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/atomic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19440.54736.patch
Type: text/x-patch
Size: 9549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160422/7621a2ee/attachment.bin>
More information about the llvm-commits
mailing list