[llvm] ISel: introduce vector ISD::LRINT, ISD::LLRINT; custom RISCV lowering (PR #66924)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 15:26:37 PDT 2023


================
@@ -0,0 +1,108 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d \
+; RUN:     -verify-machineinstrs < %s | FileCheck %s
+
+define <vscale x 1 x i64> @llrint_nxv1i64_nxv1f32(<vscale x 1 x float> %x) {
----------------
topperc wrote:

Is it possible for the FP type to be f16?

https://github.com/llvm/llvm-project/pull/66924


More information about the llvm-commits mailing list