[all-commits] [llvm/llvm-project] 79bd1d: [SLPVectorizer] Avoid use of ConstantExpr::getInte...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 1 04:28:00 PDT 2023


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLPVectorizer] Avoid use of ConstantExpr::getIntegerCast() (NFC)

We are working on a ConstantInt here, so folding will always
succeed. This just avoids use of the ConstantExpr API.




More information about the All-commits mailing list