[llvm] [GISel][RISCV] Legalize `G_FREM` to use fmod (PR #93063)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 05:50:15 PDT 2024
================
@@ -0,0 +1,51 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=riscv32 -global-isel -verify-machineinstrs < %s \
+; RUN: | FileCheck %s --check-prefix=RV32
+; RUN: llc -mtriple=riscv64 -global-isel -verify-machineinstrs < %s \
+; RUN: | FileCheck %s --check-prefix=RV64
+
----------------
arsenm wrote:
You can work around that with i16 and bitcast to half
https://github.com/llvm/llvm-project/pull/93063
More information about the llvm-commits
mailing list