[all-commits] [llvm/llvm-project] 477551: [SCEVExpander] Minor cleanup in value reuse (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 25 01:32:32 PDT 2021


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

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

  Log Message:
  -----------
  [SCEVExpander] Minor cleanup in value reuse (NFC)

Use dyn_cast_or_null and convert one of the checks into an
assertion. SCEV is a per-function analysis.




More information about the All-commits mailing list