[PATCH] Hoist load based on alias analysis

Demikhovsky, Elena elena.demikhovsky at intel.com
Sun Oct 26 07:37:01 PDT 2014


(Sorry for multiple mails, I did not use the phabricator before, please review..)

I use alias analysis to define whether the given instruction is a barrier for load hoisting.
When I find 2 identical loads, I check all preceding instructions in the both basic blocks. 
I'll also look at sinking stores in the next patch.

http://reviews.llvm.org/D5991


Files:
  lib/Transforms/Scalar/MergedLoadStoreMotion.cpp 
Files:
  lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  test/Transforms/InstMerge/ld_hoist1.ll
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5991.15456.patch
Type: text/x-patch
Size: 7355 bytes
Desc: D5991.15456.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141026/31d5aaca/attachment.bin>


More information about the llvm-commits mailing list