[PATCH] D94306: [LoopRotate] Use llvm.experimental.noalias.scope.decl for duplicating noalias metadata as needed

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 07:00:05 PST 2021


jeroen.dobbelaere created this revision.
jeroen.dobbelaere added reviewers: nikic, jdoerfert.
Herald added subscribers: lxfind, hiraditya.
jeroen.dobbelaere requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Similar to D92887 <https://reviews.llvm.org/D92887>, LoopRotation also needs duplicate the noalias scopes when rotating a `@llvm.experimental.noalias.scope.decl` across a block boundary.
This is based on the version from the Full Restrict paches (D68511 <https://reviews.llvm.org/D68511>).

The problem it fixes also showed up in Transforms/Coroutines/ex5.ll after D93040 <https://reviews.llvm.org/D93040>


https://reviews.llvm.org/D94306

Files:
  llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
  llvm/test/Transforms/LoopRotate/noalias.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94306.315386.patch
Type: text/x-patch
Size: 12598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210108/912d9dc8/attachment.bin>


More information about the llvm-commits mailing list