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

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


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

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

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

Use the constant folding API instead. Use ImmConstant to ensure
folding succeeds.



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