[all-commits] [llvm/llvm-project] b57cbb: [RISCV][GISel] Improve fptos/ui and s/uitofp handl...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Nov 6 12:19:26 PST 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/double-convert.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/float-convert.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/rv64-double-convert.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/rv64-float-convert.ll

  Log Message:
  -----------
  [RISCV][GISel] Improve fptos/ui and s/uitofp handling and testing.

Replace clampScalar of the integer type with minScalar. We can't
narrow the integer type, we can only make it larger. If the type
is larger than xLen we need to use a 2*xlen libcall. If it's larger
than 2*xlen we can't handle it at all.



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