[llvm] [GlobalISel] Lowering of {get,set,reset}_fpenv (PR #75086)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 01:19:32 PST 2024


================
@@ -0,0 +1,88 @@
+# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 2
+# RUN: llc -mtriple=aarch64-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
+
+--- |
+  target triple = "aarch64-unknown-linux-gnu"
+
+  declare i64 @llvm.get.fpenv.i64()
+  declare void @llvm.set.fpenv.i64(i64)
+  declare void @llvm.reset.fpenv()
+
+  define i64 @func_get_fpenv() {
----------------
arsenm wrote:

Don't need the IR section 

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


More information about the llvm-commits mailing list