[all-commits] [llvm/llvm-project] fa0014: [SCEV] Drop LCSSA check in createNodeFromSelectLik...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 27 06:18:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa0014a68bb452ff12af6e4af5e6e919dbe8584b
      https://github.com/llvm/llvm-project/commit/fa0014a68bb452ff12af6e4af5e6e919dbe8584b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/smax-br-phi-idioms.ll

  Log Message:
  -----------
  [SCEV] Drop LCSSA check in createNodeFromSelectLikePHI()

SCEV expressions no longer try to preserve LCSSA form. SCEV
construction will try to look through LCSSA phi nodes. As such,
we also no longer need to limit this special-case fold.




More information about the All-commits mailing list