[all-commits] [llvm/llvm-project] 8de2f1: [IVUsers] Check LoopSimplify cache earlier (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Apr 10 13:59:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8de2f1ff79aa2a8a72b8c44ea70b48aa9f282ae5
      https://github.com/llvm/llvm-project/commit/8de2f1ff79aa2a8a72b8c44ea70b48aa9f282ae5
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-04-10 (Sat, 10 Apr 2021)

  Changed paths:
    M llvm/lib/Analysis/IVUsers.cpp

  Log Message:
  -----------
  [IVUsers] Check LoopSimplify cache earlier (NFC)

Check the cache before calling isLoopSimplifyForm(). Otherwise we'd
always perform the check for the innermost loop and only skip it
for dominating loops.




More information about the All-commits mailing list