[all-commits] [llvm/llvm-project] 08536b: [LAA] refactor tryToCreateDiffCheck (NFC) (#92110)

Ramkumar Ramachandra via All-commits all-commits at lists.llvm.org
Tue May 14 08:20:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08536b0f9ccc208ea170b9451026eb1fe1fbb780
      https://github.com/llvm/llvm-project/commit/08536b0f9ccc208ea170b9451026eb1fe1fbb780
  Author: Ramkumar Ramachandra <r at artagnon.com>
  Date:   2024-05-14 (Tue, 14 May 2024)

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

  Log Message:
  -----------
  [LAA] refactor tryToCreateDiffCheck (NFC) (#92110)

tryToCreateDiffCheck has one caller, and exits early if CanUseDiffCheck
is false. Hence, we can get/set CanUseDiffCheck in the caller to avoid
wastefully calling tryToCreateDiffCheck. This patch is an NFC
simplification of program logic.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list