[all-commits] [llvm/llvm-project] ebb8ff: [InstSimplify] Extract commutative and folds into ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 15 07:34:26 PST 2023


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

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] Extract commutative and folds into helper (NFCI)

There are a number of and folds that are repeated for both
operand orders. Move these into a helper that is invoked with
both orders.

This is conceptually NFC, but may not be entirely so, as the order
of folds may change.




More information about the All-commits mailing list