[all-commits] [llvm/llvm-project] cc1e2b: [BasicAA] Handle phi with itself as incoming value

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 9 07:20:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc1e2bb4d44c6a47705faff52fc62e83917998d0
      https://github.com/llvm/llvm-project/commit/cc1e2bb4d44c6a47705faff52fc62e83917998d0
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/test/Analysis/BasicAA/recphi.ll

  Log Message:
  -----------
  [BasicAA] Handle phi with itself as incoming value

We can skip such incoming values. This was already done by
PhiValues if present, but we can also do this without the
additional analysis.




More information about the All-commits mailing list