[all-commits] [llvm/llvm-project] 6dd8ec: [SCEV] Work on APInt instead of ConstantExpr (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Sep 28 06:24:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dd8ec64653ab414cb12ad62924e521f87e5cd52
      https://github.com/llvm/llvm-project/commit/6dd8ec64653ab414cb12ad62924e521f87e5cd52
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

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

  Log Message:
  -----------
  [SCEV] Work on APInt instead of ConstantExpr (NFC)

Avoid an unnecessary use of ConstantExpr::getZExt() when
APInt::zext() is sufficient.


  Commit: c887700f3b9df959a15fd56e7062329b14a1b786
      https://github.com/llvm/llvm-project/commit/c887700f3b9df959a15fd56e7062329b14a1b786
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

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

  Log Message:
  -----------
  [SCEV] Remove zext/sext from BuildConstantForSCEV

In preparation for removing these constant expressions.


Compare: https://github.com/llvm/llvm-project/compare/707686b0fc51...c887700f3b9d


More information about the All-commits mailing list