[all-commits] [llvm/llvm-project] 5afeba: [RISCV] Custom legalize i32 UADDSAT/USUBSAT for -r...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Feb 4 21:48:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5afeba051e5c3ad1860cf1642a99e60452d514de
      https://github.com/llvm/llvm-project/commit/5afeba051e5c3ad1860cf1642a99e60452d514de
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-02-04 (Sun, 04 Feb 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/rv64-legal-i32/sadd_sat.ll
    A llvm/test/CodeGen/RISCV/rv64-legal-i32/sadd_sat_plus.ll
    A llvm/test/CodeGen/RISCV/rv64-legal-i32/ssub_sat.ll
    A llvm/test/CodeGen/RISCV/rv64-legal-i32/ssub_sat_plus.ll

  Log Message:
  -----------
  [RISCV] Custom legalize i32 UADDSAT/USUBSAT for -riscv-experimental-rv64-legal-i32 with Zbb.

This matches the codegen we get from type legalization without
-riscv-experimental-rv64-legal-i32.




More information about the All-commits mailing list