[all-commits] [llvm/llvm-project] 326ba3: [ValueTracking][RISCV] Use ConstantRange::getUnsig...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jun 26 17:30:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 326ba38a991250a8587a399a260b0f7af2c9166a
      https://github.com/llvm/llvm-project/commit/326ba38a991250a8587a399a260b0f7af2c9166a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

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

  Log Message:
  -----------
  [ValueTracking][RISCV] Use ConstantRange::getUnsignedMax instead of getUpper to simplify some code. (#96816)

This avoids the need to subtract 1 and explain why.



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