[all-commits] [llvm/llvm-project] 774629: [LoopUnroll] Use llvm.experimental.noalias.scope.d...

dobbelaj-snps via All-commits all-commits at lists.llvm.org
Sun Jan 24 04:49:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 774629641bf32503353a179e98aaa3ef055d6870
      https://github.com/llvm/llvm-project/commit/774629641bf32503353a179e98aaa3ef055d6870
  Author: Jeroen Dobbelaere <jeroen.dobbelaere at synopsys.com>
  Date:   2021-01-24 (Sun, 24 Jan 2021)

  Changed paths:
    M llvm/include/llvm/IR/Metadata.h
    M llvm/include/llvm/Transforms/Utils/Cloning.h
    M llvm/lib/Transforms/Utils/CloneFunction.cpp
    M llvm/lib/Transforms/Utils/LoopUnroll.cpp
    A llvm/test/Transforms/LoopUnroll/noalias.ll
    M llvm/test/Transforms/PhaseOrdering/pr39282.ll

  Log Message:
  -----------
  [LoopUnroll] Use llvm.experimental.noalias.scope.decl for duplicating noalias metadata as needed

This is a fix for https://bugs.llvm.org/show_bug.cgi?id=39282. Compared to D90104, this version is based on part of the full restrict patched (D68484) and uses the `@llvm.experimental.noalias.scope.decl` intrinsic to track the location where !noalias and !alias.scope scopes have been introduced. This allows us to only duplicate the scopes that are really needed.

Notes:
- it also includes changes and tests from D90104

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D92887




More information about the All-commits mailing list