[all-commits] [llvm/llvm-project] dcc770: [InstCombine] Remove unused llvm.experimental.noal...

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


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/test/Transforms/Coroutines/coro-retcon-resume-values.ll
    M llvm/test/Transforms/Coroutines/coro-retcon-value.ll
    M llvm/test/Transforms/Coroutines/coro-retcon.ll
    M llvm/test/Transforms/Coroutines/ex2.ll
    M llvm/test/Transforms/Coroutines/ex3.ll
    M llvm/test/Transforms/Coroutines/ex4.ll
    A llvm/test/Transforms/InstCombine/noalias-scope-decl.ll
    M llvm/test/Transforms/PhaseOrdering/inlining-alignment-assumptions.ll
    M llvm/test/Transforms/PhaseOrdering/instcombine-sroa-inttoptr.ll

  Log Message:
  -----------
  [InstCombine] Remove unused llvm.experimental.noalias.scope.decl

A @llvm.experimental.noalias.scope.decl is only useful if there is !alias.scope and !noalias metadata that uses the declared scope.
When that is not the case for at least one of the two, the intrinsic call can as well be removed.

Reviewed By: nikic

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




More information about the All-commits mailing list