[PATCH] D45151: [LICM] Hoisting invariant.group loads

Piotr Padlewski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 1 14:05:08 PDT 2018


Prazek created this revision.
Prazek added reviewers: sanjoy, dberlin, amharc, kuhar.

This patch introduce hoisting !invariant.group loads that
are guaranteed to execute when the loop is executed.  This way
we ain't gonna drop any metadata.  This is crucial as we don't know
yet if it is profitable to hoist !invariant.group loads speculatively.


Repository:
  rL LLVM

https://reviews.llvm.org/D45151

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45151.140595.patch
Type: text/x-patch
Size: 7807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180401/3aa527d6/attachment.bin>


More information about the llvm-commits mailing list