[llvm] [X86][GlobalIsel] Add test for IS_FP_CLASS (PR #148816)

Evgenii Kudriashov via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 24 12:04:31 PDT 2025


================
@@ -0,0 +1,526 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=i686-linux | FileCheck %s -check-prefixes=X86-SDAGISEL
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s -check-prefixes=X64,X64-SDAGISEL
+; RUN: llc < %s -mtriple=i686-linux -fast-isel -fast-isel-abort=1  | FileCheck %s -check-prefixes=X86-FASTISEL
+; RUN: llc < %s -mtriple=x86_64-linux -fast-isel -fast-isel-abort=1  | FileCheck %s -check-prefixes=X64,X64-FASTISEL
+
+; FIXME: We can reuse/delete llvm/test/CodeGen/X86/is_fpclass.ll when all patches are included.
+
+define i1 @is_fcNone_f32(float %x) nounwind {
----------------
e-kud wrote:

I think it is a good idea to move tests preserving the names. `is_fcNone_f32` and `is_fcAllFlags_f32` have unclear renaming.

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


More information about the llvm-commits mailing list