[all-commits] [llvm/llvm-project] b7b3d1: [InstSimplify] Implement simple folds for `ucmp`/`...

Poseydon42 via All-commits all-commits at lists.llvm.org
Sun Jun 16 22:11:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7b3d1798db98c0f7071e4557e860a6fd5847602
      https://github.com/llvm/llvm-project/commit/b7b3d1798db98c0f7071e4557e860a6fd5847602
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/uscmp.ll

  Log Message:
  -----------
  [InstSimplify] Implement simple folds for `ucmp`/`scmp` intrinsics (#95601)

This patch adds folds for the cases where both operands are the same or
where it can be established that the first operand is less than, equal
to, or greater than the second operand.



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