[all-commits] [llvm/llvm-project] a616f5: [CorrelatedValuePropagation] Fold calls to UCMP/SC...

Poseydon42 via All-commits all-commits at lists.llvm.org
Tue Jul 2 03:19:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a616f57c1f5f64ee6013c01b6cfe8c587b4cd1f8
      https://github.com/llvm/llvm-project/commit/a616f57c1f5f64ee6013c01b6cfe8c587b4cd1f8
  Author: Poseydon42 <vvmposeydon at gmail.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    A llvm/test/Transforms/CorrelatedValuePropagation/uscmp.ll

  Log Message:
  -----------
  [CorrelatedValuePropagation] Fold calls to UCMP/SCMP when we know that ranges of operands do not overlap (#97235)

This patch adds folds for calls to `ucmp`/`scmp` intrinsics where we can
establish that the range of the first operand is strictly to the left or
strictly to the right of the range of 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