[PATCH] D31539: Hoisting invariant.group in LICM

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 09:05:35 PDT 2017


Prazek created this revision.

The !invariant.group loads having pointer operand that dominates
the loop body can be hoisted, because we know the load will produce
the same value in every loop step.


https://reviews.llvm.org/D31539

Files:
  lib/Transforms/Scalar/LICM.cpp
  test/Transforms/LICM/hoist-invariant-group-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31539.93653.patch
Type: text/x-patch
Size: 6413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170331/a593b1dd/attachment.bin>


More information about the llvm-commits mailing list