[llvm] [X86][GlobalISel] Added support for llvm.set.rounding (PR #156591)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 03:59:00 PDT 2025
================
@@ -0,0 +1,38 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: not llc < %s -mtriple=i686-- -fast-isel -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+; RUN: not llc < %s -mtriple=i686-- -global-isel=0 -fast-isel=0 -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+; RUN: not llc < %s -mtriple=i686-- -global-isel -global-isel-abort=1 -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+; RUN: not llc < %s -mtriple=x86_64-- -fast-isel -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+; RUN: not llc < %s -mtriple=x86_64-- -global-isel=0 -fast-isel=0 -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+; RUN: not llc < %s -mtriple=x86_64-- -global-isel -global-isel-abort=1 -o /dev/null 2>&1 | FileCheck %s --check-prefixes=ERROR
+
+; ERROR: error: isel-set-invalid-rounding:3:3: in function foo void (): rounding mode is not supported by X86 hardware
+
+source_filename = "isel-set-invalid-rounding"
+
----------------
arsenm wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/156591
More information about the llvm-commits
mailing list