[all-commits] [llvm/llvm-project] bb5bbe: [RISCV][GISel] Support s32/s64 G_FSUB/FDIV/FNEG wi...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Nov 24 18:25:01 PST 2024


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

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
    A llvm/test/CodeGen/RISCV/GlobalISel/double-arith.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/float-arith.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir

  Log Message:
  -----------
  [RISCV][GISel] Support s32/s64 G_FSUB/FDIV/FNEG without F/D extensions.

Use libcalls for G_FSUB/FDIV. Use integer operations for G_FNEG.

Copy most of the IR tests for arithmetic from SelectionDAG.



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