[llvm] [LoongArch] Support llvm.lround intrinsics with i32 return type. (PR #114733)

Zhaoxin Yang via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 22:05:45 PST 2024


================
@@ -0,0 +1,18 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc --mtriple=loongarch64 %s -o - | FileCheck %s
+
+declare i32 @llvm.lround.i32.f32(float)
+
+; We support lround with i32 as return type on LoongArch64. This is needed by flang.
----------------
ylzsx wrote:

Thanks, the changes have been made.

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


More information about the llvm-commits mailing list