[all-commits] [llvm/llvm-project] ffec31: [InstSimplify] Provide information about the range...

Poseydon42 via All-commits all-commits at lists.llvm.org
Sun Jun 23 21:02:07 PDT 2024


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

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

  Log Message:
  -----------
  [InstSimplify] Provide information about the range of possible values that `ucmp`/`scmp` can return (#96410)

This makes it possible to fold dumb comparisons like `ucmp(x, y) == 7`.



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