[all-commits] [llvm/llvm-project] 3c4bc6: [InstCombine] Handle "trunc nuw to i1" as "icmp ne...

Andreas Jonson via All-commits all-commits at lists.llvm.org
Sat May 30 01:03:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c4bc6c9f7b535275a2344a78c94b8b7eb10b433
      https://github.com/llvm/llvm-project/commit/3c4bc6c9f7b535275a2344a78c94b8b7eb10b433
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Handle "trunc nuw to i1" as "icmp ne,0" in foldSelectValueEquivalence (#198131)

proof: https://alive2.llvm.org/ce/z/MGhWgE



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