[all-commits] [llvm/llvm-project] 24e16e: [SSAUpdaterImpl] Do not generate phi node with all...

serguei-katkov via All-commits all-commits at lists.llvm.org
Thu Jun 2 22:25:06 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24e16e4af20858e0c276d3cf4137b7a57afd2d19
      https://github.com/llvm/llvm-project/commit/24e16e4af20858e0c276d3cf4137b7a57afd2d19
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
    M llvm/test/CodeGen/AArch64/tail-dup-redundant-phi.mir
    M llvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
    M llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj.ll
    M llvm/test/Transforms/LICM/sink-debuginfo-preserve.ll

  Log Message:
  -----------
  [SSAUpdaterImpl] Do not generate phi node with all the same incoming values

If all available vals to basic block are the same - do not build new phi node and
just use this value.

Reviewed By: sameerds
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D126525




More information about the All-commits mailing list