[all-commits] [llvm/llvm-project] b773a9: [InstSimplify] Canonicalize `X uge 1` to `X ne 0` ...

Iris Shi via All-commits all-commits at lists.llvm.org
Wed May 6 21:42:22 PDT 2026


  Branch: refs/heads/users/el-ev/pr145204-comment
  Home:   https://github.com/llvm/llvm-project
  Commit: b773a978d023777233885eac210d34e051c72761
      https://github.com/llvm/llvm-project/commit/b773a978d023777233885eac210d34e051c72761
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/select-icmp.ll

  Log Message:
  -----------
  [InstSimplify] Canonicalize `X uge 1` to `X ne 0` and `X sle -1` to `X slt 0` in `simplifyICmpInst`


  Commit: 3fb1fe73de0812a60b9426f9fd5d93d717da8ad0
      https://github.com/llvm/llvm-project/commit/3fb1fe73de0812a60b9426f9fd5d93d717da8ad0
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-07 (Thu, 07 May 2026)

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

  Log Message:
  -----------
  invert non-strict predicates


  Commit: 6f18f55432ebe32a6e12e99381471657460204e5
      https://github.com/llvm/llvm-project/commit/6f18f55432ebe32a6e12e99381471657460204e5
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/compare.ll

  Log Message:
  -----------
  update test


  Commit: 5274cc8b20dd1bcbc60a42e293b3687982cc62a2
      https://github.com/llvm/llvm-project/commit/5274cc8b20dd1bcbc60a42e293b3687982cc62a2
  Author: Iris Shi <0.0 at owo.li>
  Date:   2026-05-07 (Thu, 07 May 2026)

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

  Log Message:
  -----------
  drop zero check


Compare: https://github.com/llvm/llvm-project/compare/b773a978d023%5E...5274cc8b20dd

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