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

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


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

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

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

Use IRBuilder instead. Also use ImmConstant to guarantee that this
will fold.



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