[all-commits] [llvm/llvm-project] d43c08: [SCEV] Use getConstant to construct SCEV for Const...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Apr 23 03:13:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d43c083ab692ef0fc0dc5ede970ba4b3541fe5bd
      https://github.com/llvm/llvm-project/commit/d43c083ab692ef0fc0dc5ede970ba4b3541fe5bd
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-23 (Sat, 23 Apr 2022)

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

  Log Message:
  -----------
  [SCEV] Use getConstant to construct SCEV for ConstantInt (NFC).

We already know that we will construct a SCEVConstant. Directly use
getConstant, rather than going through getSCEV.




More information about the All-commits mailing list