[all-commits] [llvm/llvm-project] e26d2d: [CmpInstAnalysis] Further canonicalize the predica...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 2 03:20:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e26d2d98f71579ef2a131bbfd0ecdabe12193e48
      https://github.com/llvm/llvm-project/commit/e26d2d98f71579ef2a131bbfd0ecdabe12193e48
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

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

  Log Message:
  -----------
  [CmpInstAnalysis] Further canonicalize the predicate (NFC)

Canonicalize le to lt predicate by adjusting the constant by one.
As such, we only have to handle slt and ult.

This will make it easier to handle additional cases.



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