[PATCH] Hoist load based on alias analysis

Elena Demikhovsky elena.demikhovsky at intel.com
Mon Oct 27 01:47:47 PDT 2014


I followed Hal's comments and used IsIndenticalToWhenDefefined() - the same interface is used in SimplifyCFG.
isSameOperationAs() does the same with some excluded flags.
I also did all other suggested changes.

Thanks.

http://reviews.llvm.org/D5991

Files:
  lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
  test/Transforms/InstMerge/ld_hoist1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5991.15474.patch
Type: text/x-patch
Size: 7012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141027/1f6a5ef7/attachment.bin>


More information about the llvm-commits mailing list