[PATCH] D38392: Disallow sinking of unordered atomic loads into loops

Daniil Suchkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 03:10:36 PDT 2017


DaniilSuchkov updated this revision to Diff 117485.
DaniilSuchkov marked an inline comment as done.
DaniilSuchkov added a comment.

Now sinking of unordered atomic loads from constant/invariant memory is allowed, corresponding test case added.
I am going to expose SafetyInfo in follow up patch.


https://reviews.llvm.org/D38392

Files:
  lib/Transforms/Scalar/LICM.cpp
  test/Transforms/LICM/loopsink.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38392.117485.patch
Type: text/x-patch
Size: 4415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171003/9f88c652/attachment.bin>


More information about the llvm-commits mailing list