[PATCH] D25881: [EarlyCSE] Optimize MemoryPhis and reduce memory clobber queries w/ MemorySSA
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 13:12:38 PDT 2016
gberry created this revision.
gberry added a reviewer: dberlin.
gberry added subscribers: llvm-commits, mcrosier.
When using MemorySSA, re-optimize MemoryPhis when removing a store since
this may create MemoryPhis with all identical arguments.
Also, when using MemorySSA to check if two MemoryUses are reading from
the same version of the heap, use the defining access instead of calling
getClobberingAccess, since the latter can currently result in many more
AA calls. Once the MemorySSA use optimization tracking changes are
done, we can remove this limitation, which should result in more loads
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4533 bytes
Desc: not available
More information about the llvm-commits