[all-commits] [llvm/llvm-project] e15dbd: [RISCV] Add i32 uaddo X, -1 test case. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Apr 1 19:03:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e15dbda9249e090261c059060d990c3fdbab7c4e
      https://github.com/llvm/llvm-project/commit/e15dbda9249e090261c059060d990c3fdbab7c4e
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/overflow-intrinsics.ll

  Log Message:
  -----------
  [RISCV] Add i32 uaddo X, -1 test case. NFC


  Commit: 241ad16eb012ed75d1ff2d8eed8db9464b5c7787
      https://github.com/llvm/llvm-project/commit/241ad16eb012ed75d1ff2d8eed8db9464b5c7787
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/overflow-intrinsics.ll

  Log Message:
  -----------
  [RISCV] Add special case for i32 uaddo X, -1 on RV64.

uaddo X, -1 over flows if X is non-zero.

Matches what we do i32 uaddo X, -1 on RV32.

Fixes #61891.


Compare: https://github.com/llvm/llvm-project/compare/50c45e0ac738...241ad16eb012


More information about the All-commits mailing list