[all-commits] [llvm/llvm-project] eaf911: [InstCombine] Fix comment typo that incorrectly de...

AZero13 via All-commits all-commits at lists.llvm.org
Thu May 22 11:29:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eaf911bb98509e47b35376ffbc800dca6c803793
      https://github.com/llvm/llvm-project/commit/eaf911bb98509e47b35376ffbc800dca6c803793
  Author: AZero13 <gfunni234 at gmail.com>
  Date:   2025-05-22 (Thu, 22 May 2025)

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

  Log Message:
  -----------
  [InstCombine] Fix comment typo that incorrectly described fold (NFC) (#141105)

icmp ne X, (sext (icmp ne X, 0)) --> X != 0 && X != -1, not X != 0 && X
== -1, which would go to X == -1 anyway.



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