[all-commits] [llvm/llvm-project] 1636f4: [CmpInstAnalysis] Decompose icmp eq (and x, C) C2 ...

Jeffrey Byrnes via All-commits all-commits at lists.llvm.org
Thu Apr 24 12:40:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1636f4af7bccf466d8e5cd4c0cfdf2f7ca99b060
      https://github.com/llvm/llvm-project/commit/1636f4af7bccf466d8e5cd4c0cfdf2f7ca99b060
  Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/CmpInstAnalysis.h
    M llvm/lib/Analysis/CmpInstAnalysis.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

  Log Message:
  -----------
  [CmpInstAnalysis] Decompose icmp eq (and x, C) C2 (#136367)

This type of decomposition is used in multiple places already. Adding it
to `CmpInstAnalysis` reduces code duplication.



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