[all-commits] [llvm/llvm-project] b43b2a: [InstCombine] Avoid use of shift constant expressi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 10 07:58:28 PST 2023


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

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

  Log Message:
  -----------
  [InstCombine] Avoid use of shift constant expressions (NFCI)

Use the constant folding API instead. As we're working on
ImmConstants, these folds are guaranteed to succeed.




More information about the All-commits mailing list