[PATCH] D90104: [LoopUnroll] Duplicate noalias metadata

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 24 13:58:17 PDT 2020


nikic created this revision.
Herald added subscribers: llvm-commits, zzheng, hiraditya.
Herald added a project: LLVM.
nikic requested review of this revision.

Fix for https://bugs.llvm.org/show_bug.cgi?id=39282. Scoped noalias metadata inside a loop might only be applicable within an iteration, so we should duplicate it into distinct domains when unrolling a loop.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90104

Files:
  llvm/lib/Transforms/Utils/LoopUnroll.cpp
  llvm/test/Transforms/LoopUnroll/noalias.ll
  llvm/test/Transforms/PhaseOrdering/X86/vdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90104.300501.patch
Type: text/x-patch
Size: 19707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201024/6232ad68/attachment.bin>


More information about the llvm-commits mailing list