[all-commits] [llvm/llvm-project] 8052e9: [InstCombine] Avoid use of ConstantExpr::getShl()

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jun 18 07:44:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8052e94946ec7535f2d22aae1dbf3c48d3cd1b34
      https://github.com/llvm/llvm-project/commit/8052e94946ec7535f2d22aae1dbf3c48d3cd1b34
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp

  Log Message:
  -----------
  [InstCombine] Avoid use of ConstantExpr::getShl()

Use the constant folding API instead. Use ImmConstant to make
sure it actually folds.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list