[all-commits] [llvm/llvm-project] ae73bc: Reapply [InstCombine] Support gep nuw in icmp fold...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 6 05:41:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae73bc8e94b3174e2b495eee544cf843b6e51899
      https://github.com/llvm/llvm-project/commit/ae73bc8e94b3174e2b495eee544cf843b6e51899
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-gep.ll

  Log Message:
  -----------
  Reapply [InstCombine] Support gep nuw in icmp folds (#118472)

The profile runtime test failure this caused has been addressed in:
https://github.com/llvm/llvm-project/pull/118782

-----

Unsigned icmp of gep nuw folds to unsigned icmp of offsets. Unsigned
icmp of gep nusw nuw folds to unsigned samesign icmp of offsets.

Proofs: https://alive2.llvm.org/ce/z/VEwQY8



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