[all-commits] [llvm/llvm-project] 9d5b09: [InstCombine] Add helper for commutative icmp fold...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 2 07:16:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d5b0965c43b4e8b3f21c106fe829391b1382277
      https://github.com/llvm/llvm-project/commit/9d5b0965c43b4e8b3f21c106fe829391b1382277
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h

  Log Message:
  -----------
  [InstCombine] Add helper for commutative icmp folds (NFCI)

Add a common place for icmp folds that should be tried with both
operand orders, so we don't have to repeat this pattern for
individual folds.




More information about the All-commits mailing list