[all-commits] [llvm/llvm-project] 855bc4: [InstCombine] Fold trunc nuw/nsw X to i1 -> true I...

Andreas Jonson via All-commits all-commits at lists.llvm.org
Sun Dec 8 13:28:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 855bc46bc810c4ae97ea9f427429a7efd8b9cc15
      https://github.com/llvm/llvm-project/commit/855bc46bc810c4ae97ea9f427429a7efd8b9cc15
  Author: Andreas Jonson <andjo403 at hotmail.com>
  Date:   2024-12-08 (Sun, 08 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/trunc.ll

  Log Message:
  -----------
  [InstCombine] Fold trunc nuw/nsw X to i1 -> true IFF X != 0 (#119131)

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



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