[all-commits] [llvm/llvm-project] 17c20a: [SCEV] Avoid unnecessary domination checks (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 6 13:14:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17c20a6dfb7c89ac4eb13990308b731263345918
      https://github.com/llvm/llvm-project/commit/17c20a6dfb7c89ac4eb13990308b731263345918
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-10-06 (Wed, 06 Oct 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [SCEV] Avoid unnecessary domination checks (NFC)

When determining the defining scope, avoid repeatedly querying
dominationg against the function entry instruction. This ends up
begin a very common case that we can handle more efficiently.




More information about the All-commits mailing list