[PATCH] D27939: [LICM] Report failing to hoist a load with an invariant address

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 14:35:11 PST 2017


anemet updated this revision to Diff 83875.
anemet added a comment.

Add comment and testcase to explain why we need to check for the
loop-invariance of the pointer.


https://reviews.llvm.org/D27939

Files:
  include/llvm/Transforms/Utils/LoopUtils.h
  lib/Transforms/Scalar/LICM.cpp
  test/Transforms/LICM/opt-remarks-intervening-store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27939.83875.patch
Type: text/x-patch
Size: 5887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170110/ecefd8c2/attachment.bin>


More information about the llvm-commits mailing list