[all-commits] [llvm/llvm-project] 7ed4b7: [SCEVExpander] Change getRelatedExistingExpansion(...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Aug 21 02:51:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ed4b7e5837d71c63b0892fef89b97fe0ce205cf
      https://github.com/llvm/llvm-project/commit/7ed4b7e5837d71c63b0892fef89b97fe0ce205cf
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp

  Log Message:
  -----------
  [SCEVExpander] Change getRelatedExistingExpansion() to return bool (NFC)

This method is only used to determine whether a related expansion
exists, the actual value is unused. Clarify that by renaming
get -> has and returning bool.




More information about the All-commits mailing list