[all-commits] [llvm/llvm-project] e408f7: [LSR] Avoid use of ConstantExpr::getCast() (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 2 01:48:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e408f705240096b3310836fc623256b78709a05f
      https://github.com/llvm/llvm-project/commit/e408f705240096b3310836fc623256b78709a05f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-02 (Thu, 02 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp

  Log Message:
  -----------
  [LSR] Avoid use of ConstantExpr::getCast() (NFC)

Use the constant folding API instead, which must succeed as we're
working on a ConstantInt.




More information about the All-commits mailing list