[all-commits] [llvm/llvm-project] 32a76f: [SCEVExpander] Avoid ConstantExpr::get() (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 4 05:59:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32a76fc292d991408dc7276c75d35590799b2132
      https://github.com/llvm/llvm-project/commit/32a76fc292d991408dc7276c75d35590799b2132
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-04 (Mon, 04 Jul 2022)

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

  Log Message:
  -----------
  [SCEVExpander] Avoid ConstantExpr::get() (NFCI)

Use ConstantFoldBinaryOpOperands() instead. This will be important
when not all binops have constant expression variants.




More information about the All-commits mailing list