[all-commits] [llvm/llvm-project] ff7512: [LoopInfo] Avoid redundant DomTree lookup (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 21 03:03:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ff75121d4b6c5f4023e36a4edd7296a419ed5c04
      https://github.com/llvm/llvm-project/commit/ff75121d4b6c5f4023e36a4edd7296a419ed5c04
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Support/GenericLoopInfoImpl.h

  Log Message:
  -----------
  [LoopInfo] Avoid redundant DomTree lookup (NFC)

For Header we already have the DomTreeNode. For Backedge, fetch it
only once.




More information about the All-commits mailing list